2009/10/29 Dennis Schetinin <[email protected]>:
> For me it's not clear at all. But this is much more obvious:
>
>         stack := self resultOf: [self shouldBeEmpty].
>

So why to use a block then? And stop, why to use "resultOf:"???

>> And by "declarative" I meant
>> the way you specify dependencies between your tests. If it was done
>> your way, test would be performed twice.
>
> Why?

Don't you expect the block to be evaluated?

>>
>> If you use symbol, you don't
>> have to do it (haven't seen the library yet, just guessing :).
>
> Don't have to do what?

Don't have to execute method shouldBeEmpty twice.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to