unittests not being run

Bahman Movaqar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 16 21:08:28 PDT 2016


On 07/17/2016 12:38 AM, Seb wrote:
> There is no need for a module, but dub by default only checks files in
> the 'source' folder.

The file is already in the 'source' folder.

> For such simple tests you could also run them directly with rdmd
> -unittest. There is an additional -main flag if you don't need a main
> method.

Indeed, that's a slimmed down version of my code.  Though the real code
is different (not this simple and already has a `main`) the problem is
the same.

-- 
Bahman


More information about the Digitalmars-d-learn mailing list