Can we get unitests to not run with program start ?

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 26 10:47:51 PDT 2016


Am 26.10.2016 um 18:32 schrieb Adam D. Ruppe:
> On Wednesday, 26 October 2016 at 16:08:23 UTC, Sönke Ludwig wrote:
>> How would a custom unit test runner such as "unit-threaded" or
>> "tested" work in that case?
>
> http://dpldocs.info/experimental-docs/core.runtime.Runtime.moduleUnitTester.1.html
>
>
> http://dlang.org/phobos/core_runtime.html#.Runtime.moduleUnitTester

Thanks, that should work! I misremembered this as getting called once 
per module, which would have been insufficient.


More information about the Digitalmars-d mailing list