I would really like to have Sunit 5 in Pharo.

Stef

On Jul 10, 2013, at 6:45 PM, Jan Vrany <[email protected]> wrote:

>> What you want is a TAssertable>>#should:raise:  that:
>> - takes a one arg block as second argument that is evaluated with the
>> exception thrown
>> - fails if no exception is raised
>> 
> 
> Then please call it #should:raise:suchThat:
> That's what is in upcoming SUnit 5.0 [1]
> 
> Also I would avoid using traits in SUnit, this is
> non-portable. The TestAsserter class was introduced already
> in SUnit 4.0. Indeed, only if you at all care about having SUnit in sync
> with other dialects :-)
> 
> Best, Jan
> 
> [1]: 
> https://swing.fit.cvut.cz/hg/stx.goodies.sunit/file/fb932a5daa97/TestAsserter.st#l139
> 


Reply via email to