
Episode 28
28: Jeffrey Way and Dave Marshall - "Don't mock what you don't own"
In this episode, Adam talks to recurring guests Jeffrey Way and Dave Marshall about "don't mock what you don't own".
October 27, 201558m 16s
Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
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
Topics
technologysoftwarewebdevelopmentproductstartup