154: Don't Mock your Database - Jeff Triplett

You need tests for your web app. And it has a database. What do you do with the database during testing? Should you use the real thing? or mock it? Jeff Triplett says don't mock it.
In this episode, we talk with Jeff about testing web applications, specifically Django apps, and of course talk about the downsides of database mocking.

Links:

Help support the show AND learn pytest: 
  • The Complete pytest course is now a bundle, with each part available separately.
  • Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.

★ Support this podcast on Patreon ★

Creators and Guests

Brian Okken
Host
Brian Okken
Software Engineer, also on Python Bytes and Python People podcasts
Jeff Triplett
Guest
Jeff Triplett
Jeff Triplett is a Partner at REVSYS and a Director of the Python Software Foundation. The current President and co-founder of the Django Events Foundation North America (DEFNA), the non-profit which has run DjangoCon US since 2015, he was awarded the 2019 Malcolm Tredinnick Memorial Prize for his contributions to the Django community.
154: Don't Mock your Database - Jeff Triplett
Broadcast by