Phobos Documentation - call to action
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 20 22:23:33 PDT 2015
On Fri, Mar 20, 2015 at 06:58:38PM -0700, Walter Bright via Digitalmars-d wrote:
> On 3/20/2015 5:56 PM, Jesse Phillips wrote:
> >Can I do this and not feel bad for not setting up and running
> >unittests/generating docs (maybe because I just used the GitHub built
> >in text editor)? Could unittest example blocks be added which are
> >tested outside, but weren't tested once copied into the file?
>
> 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.
T
--
The best compiler is between your ears. -- Michael Abrash
More information about the Digitalmars-d
mailing list