2009/10/29 George Herolyants <[email protected]>
> 2009/10/29 Dennis Schetinin <[email protected]>:
> > Using symbols (i.e. "almost" constants) instead of explicitly telling
> what
> > is happenning (sending a message) is more clean?! :) Ok then... (Not
> sure
> > what you mean by "declarative" here)
>
> The message "given:" tells that to you.
For me it's not clear at all. But this is much more obvious:
stack := self resultOf: [self shouldBeEmpty].
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?
> 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?
--
Dennis Schetinin
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project