How can one reliably run unittests

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Sep 3 00:10:13 UTC 2021


On Thu, Sep 02, 2021 at 11:48:25PM +0000, Adam Ruppe via Digitalmars-d wrote:
> The -unittest flag should just accept a pattern, same as -i, so you
> can explicitly add or remove things that get the unittest build.
> 
> Then you can be like dmd -unittest=foo.bar -i main.d and it will build
> foo.bar with unitest and skip the rest while still auto-following
> imports.

Haha, I just wrote a post describing pretty much the same thing.  Great
minds think alike. ;-)


T

-- 
You are only young once, but you can stay immature indefinitely. -- azephrahel


More information about the Digitalmars-d mailing list