Beta 2.090.0

Soulsbane paul at acheronsoft.com
Tue Dec 24 05:59:35 UTC 2019


On Monday, 23 December 2019 at 21:59:42 UTC, Per Nordlöw wrote:
> 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
>
> ?

dub test doesn't run the actual program only unittests are far as 
I can tell.


More information about the Digitalmars-d-announce mailing list