Out of Source Unittests
Jacob Carlborg
doob at me.com
Tue Sep 6 23:47:54 PDT 2011
On 2011-09-06 19:15, Tobias Pankrath wrote:
>>
>> 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.
I have my unit tests in a completely different package:
https://github.com/jacob-carlborg/orange/tree/master/tests
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list