When to mock

Adam Wathan has a new post discussing “When to mock”:

Test doubles come in a ton of different flavors.

Dummies, fakes, mocks, stubs, spies, oh my!

But I don’t think it needs to be this complicated. In my mind, there’s really only two categories of test doubles.