DUnit - class MyTest { mixin TestMixin; void testMethod1() {} void testMethod2() {}}
Juan Manuel Cabo
juanmanuel.cabo at gmail.com
Sun Feb 19 08:12:41 PST 2012
I forgot to mention. All of this works flawlessly with D2.057 and
D2.058. But with previous versions, you might need to declare the:
mixin TestMixin;
at the bottom of the class. Otherwise, the test* methods were not
seen.
And excuse me for all the bad formatting in my post and all the
excitement!
--jm
More information about the Digitalmars-d-announce
mailing list