28: Jeffrey Way and Dave Marshall - "Don't mock what you don't own"

Full Stack Radio

Episode | Podcast

Date: Tue, 27 Oct 2015 02:41:00 +0000

<p>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.</p><p><br />This episode is brought to you by <a href="https://laracasts.com">Laracasts</a>.</p><ul> <li> <a href="http://www.jmock.org/oopsla2004.pdf">Mock roles not objects</a>, the original paper</li> <li> <a href="http://blog.thecodewhisperer.com/2010/10/16/integrated-tests-are-a-scam/">Integrated tests are a scam</a> by J.B. Rainsberger</li> <li>Eric Evans' <a href="http://www.domainlanguage.com/elearn/">Domain Language</a> e-course</li> <li> <a href="http://davedevelopment.co.uk/2015/10/26/setting-up-a-database-fixture.html">Effective tests: Setting up a database fixture</a> on Dave's blog</li> <li> <a href="https://laracasts.com/lessons/to-mock-external-services">Integration testing a Stripe wrapper</a> on Laracasts</li> <li>Sponsored by <a href="https://laracasts.com">Laracasts</a> </li> </ul>