Program logic bugs vs input/environmental errors

Ary Borenszweig via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 15 06:57:35 PDT 2014


On 10/15/14, 4:25 AM, Walter Bright wrote:
> On 10/14/2014 11:23 PM, Jacob Carlborg wrote:
>> On 2014-10-15 07:57, Walter Bright wrote:
>>
>>> Why do you need non-fatal unittests?
>>
>> I don't know if this would cause problems with the current approach.
>> But most
>> unit test frameworks don't NOT stop on the first failure, like D does. It
>> catches the exception, continues with the next test and in the end
>> prints a
>> final report.
>
> I understand that, but I don't think that is what Dicebot is looking
> for. He's looking to recover from unittests, not just continue.

I think this means you can't get stack traces for exceptions thrown in 
unit tests, right?



More information about the Digitalmars-d mailing list