howto run unittest of a single module in dub driven project?

Atila Neves atila.neves at gmail.com
Mon Mar 5 11:26:37 UTC 2018


On Sunday, 4 March 2018 at 10:43:06 UTC, Arjan wrote:
> Is it somehow possible to only run the unittests of a single d 
> file within a dub project? Of course without resorting to 
> typing the complete commandline with all versions includes 
> switches etc.

You could use unit-threaded:

http://code.dlang.org/packages/unit-threaded

You'd still need to build everything, but `dub test` would take 
care of that. I started working on, and need to get back to, a 
way of only building one module and needed dependencies.

Atila


More information about the Digitalmars-d-learn mailing list