I will add a discussion to the SUnit Chapter about this point.

Stef

On Oct 22, 2013, at 12:08 AM, Camillo Bruni <camillobr...@gmail.com> wrote:

> see my long explanation here https://pharo.fogbugz.com/default.asp?11876#87218
> it looks unsuspicous until the moment you try understand such a failing 
> assertion.
> 
> On 2013-10-21, at 23:42, Alexandre Bergel <alexandre.ber...@me.com> wrote:
> 
>> Hi!
>> 
>> Just to share some thought.
>> I am now playing with Pharo 3. I have seen TestCase has some additional 
>> checks for assertion with exception. I perfectly understand the idea behind 
>> this, however, on the other hand, I see nothing suspect with the following 
>> assertion (which Roassal's tests are full of):
>> 
>>      self shouldnt: [ view raw drawOn: tracingCanvas ] raise: Error
>> 
>> I have to shut down the method #validateShouldntException:
>> 
>> Cheers,
>> Alexandre
>> -- 
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>> 
>> 
>> 
>> 
> 


Reply via email to