Why think unit tests should be in their own source code hierarchy instead of side-by-side
bauss
jj_1337 at live.dk
Fri Mar 23 10:44:21 UTC 2018
On Friday, 23 March 2018 at 00:47:20 UTC, Tony wrote:
> I think unittest blocks are good for write-once and
> quick-and-dirty projects, or as a first-cut of testing that
> ultimately gets moved to a full-grown test suite in a separate
> project. I'd prefer not to read source code that has unittest
> blocks inter-mixed with the actual code.
I partially agree with this.
It's really annoying if you have to look for an implementation
and then half the module is unittests and searching isn't always
straightforward.
More information about the Digitalmars-d-announce
mailing list