unit test broken [DUB bug?]

Andre Pany andre at s-e-a-p.de
Thu Dec 16 20:30:19 UTC 2021


On Monday, 13 December 2021 at 18:24:07 UTC, Andre Pany wrote:
> On Sunday, 12 December 2021 at 05:54:44 UTC, Chris Katko wrote:
>> Running 64-bit Linux
>> ```
>> dmd --version
>> DMD64 D Compiler v2.098.0-beta.2
>>
>> [...]
>
> I really recommend always using dub configurations, especially 
> when you want to use unit tests.
>
> The name of the first configuration doesn't matter. It is used 
> by default for commands dub, dub build...
> The second configuration you name "unittest". This 
> configuration is automatically used by command dub test.
>
> In configuration "unittest" you additionally specify 
> "mainSourceFile".
>
> Kind regards
> Andre

Sample can be found here:
https://andre2007.github.io/d-tips/dub/application_template/

Kind regards
André


More information about the Digitalmars-d-learn mailing list