Shared publicly  - 
 
When mocking perl, do you prefer Test::MockClass, Test::Mock::Object or another? And why?

Mock::Quick seems simple, and rather easy. I'm just starting to do comparisons and reading, before actual use.
1
Ben Kolera's profile photo
 
We used to use Test::MockClass but then switched to Test::MockObject instead. The reason why we liked Test::MockObject better is that it doesn't have all the test assertions baked into it (it just has helper methods that you can call or not call at your leisure) , so it stays out of your way and isn't a hassle like Test::MockClass sometimes is.
Add a comment...