Sean P. DeNigris wrote
> - Phexample and BabyMock both require subclassing from their own TestCase
> subclass, so they can't be used together.

The reason for having the base class is to verify the expectations at the
end of the tests automatically. Doing this manually is possible (context
assertSatisfied), but probably people would forget it without this automatic
mechanism. In Java for example, mock libraries use custom JUnit runners to
do this, but I haven't found something like this in SUnit. If there is a
better way to do this please let me know.




--
View this message in context: 
http://forum.world.st/Unifying-Testing-Ideas-tp4726787p4726837.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to