Unittests and assert

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Feb 28 07:39:12 PST 2013


On 2/28/13 7:54 AM, Jacob Carlborg wrote:
> On 2013-02-28 08:41, Jonathan M Davis wrote:
>
>> D's unit test facilities are designed to be simple. If you want something
>> fancier, use a 3rd party framework of some kind.
>>
>> D's unit test facilities are also designed so that they specifically
>> print
>> _nothing_ on success (and as a command-line tool, this is important), so
>> printing out how many passed or failed will never work unless there are
>> failures (which may or may not conflict with what you're looking for).
>
> I don't see why it would be a problem in printing something on success.

http://www.linfo.org/rule_of_silence.html

Andrei


More information about the Digitalmars-d mailing list