Enumerating unittests
Atila Neves
atila.neves at gmail.com
Fri Nov 17 12:08:27 UTC 2017
On Friday, 17 November 2017 at 08:32:23 UTC, Michael V. Franklin
wrote:
> On Friday, 17 November 2017 at 08:12:13 UTC, Shachar Shemesh
> wrote:
>
>> Is there a way to enumerate all the unittests in a specific
>> module?
>
> Try this: https://dlang.org/spec/traits.html#getUnitTests
>
> Mike
Note that before dmd 2.077.0 that trait only works when compiling
all-at-once.
Atila
More information about the Digitalmars-d
mailing list