Python Test

Practical automated testing for software engineers using Python. Mostly. But also so much more.

https://podcast.pythontest.com

subscribe
share






episode 154: 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.

Full Transcript

Special Guest: Jeff Triplett.

Sponsored By:

  • Datadog: Modern end-to-end monitoring & security. See inside any stack, any app, at any scale, anywhere. Get started with a free trial at testandcode.com/datadog and Datadog will send you a free t-shirt.
  • ConfigCat.com: Release features faster with less risk with ConfigCat. You can try it out with the forever free plan or get 25% off with code testandcode2021 Promo Code: testandcode2021

Links:

  • "???? In ~12 years, I have never seen a case where mocking a database was a good idea. ..."
  • Django News
  • Moto
  • Test & Code 103: Django - Lacey Williams Henschel
  • Model Bakery: Smart fixtures for better tests
  • Faker


fyyd: Podcast Search Engine
share








 May 21, 2021  31m