September 06, 2011 Re: Out of Source Unittests | ||||
---|---|---|---|---|
| ||||
Tobias Pankrath: > Which is IMO a showstopper. Because in D unittests are meant to be put beside the code they test. If you go against the language, you sometimes find troubles :-) > 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 I think the normal way to lay D unittests is: function A unittest of A function B unittest of B Class C unittest of C ... Bye, bearophile |
Copyright © 1999-2021 by the D Language Foundation