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

Arjan arjan at ask.me.to
Mon Mar 5 16:39:30 UTC 2018


On Monday, 5 March 2018 at 11:26:37 UTC, Atila Neves wrote:
> 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

Thanx will take a look at it and yes that would be exactly what I 
was after!


More information about the Digitalmars-d-learn mailing list