Posted Sat, 04 Jan 2014 12:43:34 +0100 in reply to Ty Overby
On 2014-01-04 00:14, Ty Overby wrote:
When I run dub with
dub run --build=unittest
It runs all of the unittests for all my dependencies.
Really!? That sucks.
These unittests take time, and in some cases, create windows. I would like to simply run the unittests in my own code. Is there an easy way to do this?
You could try the new "dub test" command and see how that works. If
that's not helping you can try this:
$ dmd src/*/.d -unittest -main
The above should work on any Posix system but doesn't work on Windows.
You might need to a import and linker flags for your dependencies.