digitalmars.D.learn - unittests running before static ctors??
- "H. S. Teoh" <hsteoh quickfur.ath.cx> Jan 26 2012
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. T -- No! I'm not in denial!
Jan 26 2012