Named unittests

Johannes Loher johannes.loher at fg4f.de
Sun May 19 06:56:28 UTC 2019


Am 18.05.19 um 19:49 schrieb Adam D. Ruppe:
> [...]
> One of the suggestions back then was to make -unittest only work on
> modules explicitly compiled in (open question: how does this interact
> with the new -i switch added in 2018, after that 2017 PR?), but Atila
> said that breaks the utility __traits(getUnitTests). You (Andrei) at the
> time said that is a good trade off, and a few agreed.
> 
> [...]
This is already implemented and the default behavior. See my other
recent post in this thread. The interaction with the -i switch is that
all unittests from the dependencies are compiled. This is consistent
with the description of the -i switch: "include imported modules in the
compilation".


More information about the Digitalmars-d mailing list