Hi Christophe,

I'm not sure I fully understand, are you referring to partial mocking? Where
you have a real object but with some mocked methods? If this is the case,
then no, this is not supported. Some people consider this as a test smell,
and I agree with them. Maybe the object under test is too big/complex/has
multiple responsibilities, and extracting some parts from it could solve the
problem. I haven't seen legitimitate use for partial mocking so far, where
one couldn't solve the problem with redesign/refactoring in a better way.
Until this happens I'd like to skip this feature.

Attila



--
View this message in context: 
http://forum.world.st/ANN-BabyMock-2-tp4748530p4756008.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to