exceptions thrown when running app with failed unittests

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 20 00:36:47 PDT 2017


On 2017-03-20 00:49, Ervin Bosenbacher wrote:
> On Sunday, 19 March 2017 at 23:23:48 UTC, Adam D. Ruppe wrote:
>> On Sunday, 19 March 2017 at 22:33:26 UTC, Ervin Bosenbacher wrote:
>>> Is it normal to see the long trace output instead of just a failed
>>> unit test message?
>>
>> Yeah, it is normal, though IMO useless and ought to just be removed
>> (or at least shortened to just the top few lines).
>
> Thx Adam.

You might want to look at using some unit test framework/library, as 
unit-threaded [1], which might give you a better experience.

[1] http://code.dlang.org/packages/unit-threaded

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list