I'm watching Francis Hwang's talk from RubyConf 2008 titled "Testing Heresies." He discusses his reasons for not using mock objects, and commits a common error when trashing mocks: he shows crappy examples which evidently serve as proof of why the technique sucks. To start, let's look at the two main arguments people make for why mocks suck: They duplicate the code under test Objects can get out o