How to run unittests?

al al at la.com
Sat Oct 31 10:34:28 PDT 2009


I have main.d:

void main()
{
}

unittest{
	assert(0);
}


I run:

dmd  -unittest main.d && ./main 

and nothing happens. 

What do I need to do to run the tests? (or get results printed?)

dmd v1.050 on OS X.



More information about the Digitalmars-d-learn mailing list