Should unittests run as logical part of compilation?

Atila Neves atila.neves at gmail.com
Mon Jan 27 00:21:52 PST 2014


> +1. Some of my unittests can only be run at runtime: like 
> testing file
> I/O.  Obviously, other unittests can also be run at 
> compile-time, so
> it's useful to have both.

Tests that do I/O aren't unit tests. They're more likely 
integration tests.

Atila


More information about the Digitalmars-d mailing list