std.file.read

bearophile bearophileHUGS at lycos.com
Mon Aug 2 14:42:32 PDT 2010


Dmitry Olshansky:
> Dang, DMD does not even type check the unitest code when the compiler 
> option not passed.

This is a small known problem of D newsgroups. To partially cope with it at the end of each module I add something like:

unittest { printf(__FILE__ ~ " unittest performed."); }

But among the enhancement requests of the D unit-testing there need to be a better solution to that problem too.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list