On Sat, 15 Jun 2013 11:16:22 -0400, Jacob Carlborg <[email protected]> wrote:
On 2013-06-14 17:13, Steven Schveighoffer wrote:
With @UDAs, we have a lot of unrealized power for unit tests.
I have asked for ModuleInfo to contain an rtInfo member [1], like
TypeInfo does. With that, and possibly splitting the unit tests into
individual functions (if not done already, I don't know), you have all
you need to completely re-design the unit testing framework. It can
even be runtime selectable.
It would also be nice to not have to change the druntime to use RTInfo.
Is that part of what you're suggesting?
No, currently RTInfo is for types only. I want to have it work for
modules as well (where unit tests typically live).
It would be nice to make it easily extensible. I think that can be done
by keying on certain members in the type/module.
-Steve