in reply to Re: Smallish mock objects
in thread Smallish mock objects
I prefer Test::MockObject::Extends these days. The nice point is just as you say; when you need really precise control either to make something happen that's difficult to invoke normally or to work around something really complex that is difficult to test.
Complex server initialization or failure types are the two main items that come to my mind.
|
|---|