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

Reply via email to