Full Stack Radio
28: Jeffrey Way and Dave Marshall - "Don't mock what you don't own"
They talk about how to design code that needs to work with external services, how you should test that code, and the pitfalls you run into when you use mocks incorrectly in your test suite.
This episode is brought to you by Laracasts.
- Mock roles not objects, the original paper
- Integrated tests are a scam by J.B. Rainsberger
- Eric Evans' Domain Language e-course
- Effective tests: Setting up a database fixture on Dave's blog
- Integration testing a Stripe wrapper on Laracasts
- Sponsored by Laracasts