Hi nicolas

just because people do not know. I'm going over the tutorial of Steven Wessels and converting all the should: by assert: too.
So I would just change everything and commit.

Stef

On 1/5/14 00:52, Nicolas Cellier wrote:
Hi,
I see many usage of #should: in SciSmalltalk tests that could simply be turned into #assert: or eventually #assert:equals:
Why wanting to use a block?
Other than #should:raise: and #shouldnt:raise:, I don't really see the point of #should: alone anyway...
IMO should: should be deprecated, less is more.
I'm possibly the author of several of these #should: sends, so don't take it personnally ;)

P.S. or is it easier to restart the block in the Debugger?
I cross post to pharo-dev because it's a generic question, and there are a few #should: sends in Pharo-3.0 too.


Reply via email to