Monthly Archives: November 2009

Revisiting Mocks, Stubs, Dummies and Fakes

A discussion within my current team highlighted (or rather highlighted again) that many developers use the above terms almost synonymously. This of course leads to confusion and wasted time as we have to explain to each other what exactly we mean.

With the growing popularity of mocking frameworks like the superb Mockito, people are more likely to use Mock correctly but what about the others? It seemed like a good time to remind ourselves what we each meant.
Continue reading