On Sunday, 22 December 2019 at 23:05:20 UTC, Steven Schveighoffer
wrote:
extern(C) __gshared string[] rt_options = [
"testmode=run-main"];
There are far more people who run unittests as a separate step
from running their application. If unittests pass, then there's
no distinguishable output from a build without unittests. I can
totally imagine accidentally shipping code with unittests in it
without intending to.
Thanks.
So what is now the difference between
dub run --build=unittest
and
dub test
?