unittests running before static ctors??
Jonathan M Davis
jmdavisProg at gmx.com
Thu Jan 26 10:10:28 PST 2012
On Thursday, January 26, 2012 10:08:24 H. S. Teoh wrote:
> I just noticed that unittests are running before static class ctors. Is
> this a bug??
> I suppose the intention is for unittests to make sure the class
> implementation is OK before using it, but this makes it impossible to
> use unittests to make sure that static ctors are setting up the initial
> states correctly.
I would definitely think that that's a bug. If you're seeing that happen,
please report it.
- Jonathan M Davis
More information about the Digitalmars-d-learn