Out of Source Unittests

Tobias Pankrath tobias at pankrath.net
Tue Sep 6 10:15:02 PDT 2011


> 
> Yes, just move those unit tests into another module.
> 
> However, it won't have access to private members.

Which is IMO a showstopper. 

How do you handle your unit tests? I am now stuffing everything related
to unit tests at the bottom of the module into an private scope 
(section?). This way it is out of the way and I can easily "fold" it
with my editor.


More information about the Digitalmars-d-learn mailing list