[Pharo-project] About testing that ensure works
siguctua at gmail.com
Sun Apr 24 20:18:07 CEST 2011
On 24 April 2011 15:13, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
> Ok I got it I ws confused by SUnit interference
> "self run: #testDo"
> self do: [ Error signal].
> self assert: x = 3
> self run: #testDo -> red tests
> self debug: #testDo + proceed -> green tests
Yes, sunit interrupts execution at the moment when error was triggered,
before unwinding the stack.
Igor Stasenko AKA sig.
More information about the Pharo-project