External lib unittests: they're killin me!
Jens Mueller
jens.k.mueller at gmx.de
Tue May 21 00:35:47 PDT 2013
Jacob Carlborg wrote:
> On 2013-05-21 03:52, Nick Sabalausky wrote:
> >Y'know what we need? This compiler flag:
> >
> > -unittest=pagkage.name.*
>
> I wouldn't say no to that flag. Hmm, I'm wondering if it's possible
> to get the same functionality by implementing your own unit test
> runner.
It is possible and we shouldn't push functionality into the compiler
when the issue is solvable in a library.
https://github.com/jkm/dtest (shameless plug) has the command line
switch --include to specify which modules should be tested.
Jens
More information about the Digitalmars-d
mailing list