Quit running foreign unittests >_<

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 10 00:51:22 PDT 2014


On 9/10/2014 1:01 AM, Kagamin wrote:
> It's questionable that testing every template instantiation is intended:
> you can't do the same for templated functions.

Regardless of the (de)merits of deliberately putting unittests in a 
template, the important thing is this:

Whether a person intentionally *or inadvertently* winds up with a 
unittest inside a template, the whole "causes some of my unittests run 
when my lib's *users* run *their* project's unittests" is a highly 
unintuitive non-localized consequence.



More information about the Digitalmars-d mailing list