www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Selective unittesting in DUB

reply =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
Is there a way to specify in dub.json (or any other file) that 
only a subset of the sources compiled and linked to a library or 
app should have they're unittests enabled?
Dec 21 2016
parent Jacob Carlborg <doob me.com> writes:
On 2016-12-21 19:07, Nordlöw wrote:
 Is there a way to specify in dub.json (or any other file) that only a
 subset of the sources compiled and linked to a library or app should
 have they're unittests enabled?
You can use the "unittest" configuration in Dub to add or remove files, but I don't think you can disable some of the unittest blocks in a single module. There's also unit-threaded [1] which allows you to run specific unit tests. [1] https://github.com/atilaneves/unit-threaded -- /Jacob Carlborg
Dec 21 2016