unit test broken [DUB bug?]

Andre Pany andre at s-e-a-p.de
Mon Dec 13 18:24:07 UTC 2021


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


More information about the Digitalmars-d-learn mailing list