<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">Hi, there.<div class="mb_sig"></div><div><br></div><div>The Kernel package provides "AssertionFailure" through "self assert: ...".</div><div>The SUnit package provides "TestFailure" through "self assert: ..." in test cases.</div><div><br></div><div><span style="font-size: 13.3333px">AssertionFailure is a subclass of Halt.</span><br></div><div><span style="font-size: 13.3333px">TestFailure is a subclass of Exception.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Now, the test runner catches all errors (red) and all test failures (yellow). However, the rest runner stops working if an AssertionFailure is raised. The Decompiler can do that, for example. In that case, the user cannot easily get an overview of all non-passing tests.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Here are my questions:</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">- Should </span><span style="font-size: 13.3333px">AssertionFailure be an Error instead of a Halt?</span></div><div><span style="font-size: 13.3333px">- Should SUnit treat "real" AssertionFailures also as errors (red)?</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Find attached two changesets with two different strategies.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">See TestResult >> #runCase: to see which exceptions are caught during test execution.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Best,</span></div><div><span style="font-size: 13.3333px">Marcel</span></div></div>