On 2013-02-27 20:23, Walter Bright wrote:
On 2/27/2013 4:19 AM, Jacob Carlborg wrote:
I think that is one of the problems with unit tests in D. I don't know
how to
run them.
Compile with -unittest and then run.
* How do I run all the unit test in all of my files?
Compile all files with -unittest and then run the program.
* How do I run a single test?
* How do I run a subset of the tests?
Compile only the modules you want to run the unittests on with -unittest.
I don't. I have a script that handles this. Someone else might have
another script doing things differently. This is the problem.
--
/Jacob Carlborg