No -c no main()

Christopher Wright dhasenan at gmail.com
Fri Mar 20 15:15:40 PDT 2009


Ary Borenszweig wrote:
> It is useful. Suppose you are writing a new module and want to test 
> something quickly (not with unittests, maybe make a little program to 
> see how a specific feature you just wrote works).

Why aren't you writing a unittest?

Well, you might only want to run the current module's tests, though in 
that case, you can compile the one module with -unittest and omit that 
for the others.



More information about the Digitalmars-d mailing list