Phobos Documentation - call to action

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 20 22:53:49 PDT 2015


On 3/20/2015 10:23 PM, H. S. Teoh via Digitalmars-d wrote:
> On Fri, Mar 20, 2015 at 06:58:38PM -0700, Walter Bright via Digitalmars-d wrote:
>> The autotester will run all the unittests. It's ok if you plan on
>> fixing autotest failures in a timely manner.
>
> You could run the unittests of a single module individually:
>
> 	dmd -main -unittest std/algorithm/iteration.d -of/tmp/test && /tmp/test
>
> I do this all the time because Phobos unittests take too long to run
> while I'm still working on the code.

Yup, I do that too. Except I use -cov, too, to check that the unittests are 
actually testing the code.



More information about the Digitalmars-d mailing list