On Thursday, 22 March 2018 at 11:00:31 UTC, Atila Neves wrote:

Direct link:

https://atilanevesoncode.wordpress.com/2018/03/22/keep-d-unittests-separated-from-production-code/

I completely agree. Although my reason is mostly because there will be too much code in a single file if the regular code and unit tests are mixed in the same file. Also, having utilities/helpers only used by the tests is easier, or easier to find a location for.

--
/Jacob Carlborg

Reply via email to