unittests are really part of the build, not a special run

"Nordlöw" via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 4 10:10:18 PDT 2015


On Monday, 30 March 2015 at 23:51:17 UTC, Walter Bright wrote:
>> I'd rather see DMD automatically pass the expression that 
>> triggered the error
>> (as it is done in C) to replace this useless "Unittest 
>> failure" that forces me
>> to look through the code.
>
> You have to look at the code anyway.

My experience is that having the failing expression available 
speeds up the processing of figuring out what's wrong with my 
failing code.

That's why I'm using

https://github.com/nordlow/justd/blob/master/assert_ex.d


More information about the Digitalmars-d mailing list