unittest under betterC

ryuukk_ ryuukk.dev at gmail.com
Sun Jun 4 21:20:36 UTC 2023


On Sunday, 4 June 2023 at 20:43:17 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> Unittests require some mechanism to execute them.
>
> Druntime provides this capability by default.
>
> You can do it manually by using ``__traits(getUnitTests)`` to 
> get access to the symbols.
>
> Personally I just use full D for unittests.

Then this needs to be fixed asap, unittest needs to work for the 
flags user will use

D should not advertise broken features to the world with "deal 
with it" as workaround, this is not a new language, let's up out 
standard of quality


More information about the Digitalmars-d-learn mailing list