Should unittests run as logical part of compilation?

Jacob Carlborg doob at me.com
Sun Jan 26 04:29:43 PST 2014


On 2014-01-26 04:52, Jesse Phillips wrote:

> I already attempt to get unittests to fail at compile time by using
> static assert. I think running it during compilation would be a great
> change. Though cross compiling is a valid concern and should be addressed.

It's already possible to do CTFE unit tests:

http://forum.dlang.org/thread/ks1brj$1l6c$1@digitalmars.com

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list