When to mock


September 23rd, 2014

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.

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Laravel News Partners