Initial test coverage report

Eric S. Raymond esr at thyrsus.com
Wed Jun 20 17:24:34 UTC 2018


Ian Bruene via devel <devel at ntpsec.org>:
> I need to sanity check this first: Am I correct in thinking that tests
> should be arranged as 1 file of tests corresponds to 1 file of code, rather
> than the test files corresponding to this or that concept which is scattered
> over various source files?

That's a good rule of thumb.  But it's tactic, not a strategy; don't be
afraid to make an exception if you can increase clarity and maintainability
by doing so.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.




More information about the devel mailing list