"Try it now"

Jacob Carlborg doob at me.com
Fri Apr 15 07:20:22 PDT 2011


On 2011-04-14 18:48, Andrei Alexandrescu wrote:
> On 4/14/11 9:03 AM, Steven Schveighoffer wrote:
>> Sometimes, I worry that my unit tests or asserts aren't running. Every
>> once in a while, I have to change one to fail to make sure that code is
>> compiling (this is especially true when I'm doing version statements or
>> templates). It would be nice if there was a -assertprint mode which
>> showed asserts actually running (only for the module compiled with that
>> switch, of course).
>
> Could this be achieved within the language?
>
> Andrei

Don't know exactly how he wants it to behave but I have have a look one 
of my earlier posts:

http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=134796

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list