Should unittests run as logical part of compilation?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Jan 26 20:03:48 PST 2014


On 1/26/14 1:04 PM, Gary Willoughby wrote:
> I don't fully understand this. Are you proposing to disconnect running
> unittest and evoking main? So unittests can be compiled and run without
> actually running the program?

Right.

> If this is the case then yes it would be nice to be able to do this but
> i would also recommend keeping the current behaviour of invoking main
> after the unittests have run, purely because developers (myself
> included) like to run the application often in debug/unittest mode
> during development.

We'd need to preserve backward compatibility.


Andrei



More information about the Digitalmars-d mailing list