News for hackers. Stuff that matters.
Re:Testing like the TSA by aneth on Wednesday April 11, 2012 @04:25PM (#3829476)
How would you test, say, payment processing, in any sane way, without mocking?

How do you test failure handling code when the failure can not be reproduced in a known way by the current code base?

I agree these tools are often overused, however they do have their roles.

Re:Testing like the TSA by gfodor on Thursday April 12, 2012 @01:37PM (#3833390)
Yeah I'm not referring to mocking external services, which is both smart and useful. I'm referring to the practice of endotesting whereby you mock your own objects and interfaces as a means to test interactions between them.