[Pharo-project] About testing that ensure works

Stéphane Ducasse stephane.ducasse at inria.fr
Tue Apr 26 15:29:10 CEST 2011

good suggestion.
I will check that.


On Apr 26, 2011, at 3:11 PM, Henrik Sperre Johansen wrote:

> On 24.04.2011 12:05, Stéphane Ducasse wrote:
>>> i am puzzled. You wanna to be sure that ensure block are executed?
>>> It is.
>> I want to write a test that shows and tests the withOrganizer:do: semantics.
>> In particular that the ensure is executed and that the context set by the withOrganizer: is only present
>> in the do: block.
> In other words, another use case probably written more cleanly using the non-existing
> Announcer >> #suspend: subscriber while: aBlock
> ;)
> Cheers,
> Henry

More information about the Pharo-project mailing list