Log in

goodpods headphones icon

To access all our features

Open the Goodpods app
Close icon
Test & Code - 154: Don't Mock your Database - Jeff Triplett

154: Don't Mock your Database - Jeff Triplett

05/21/21 β€’ 30 min

Test & Code

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:


Sponsored by:

  • 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 β˜…
plus icon
bookmark

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:


Sponsored by:

  • 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 β˜…

Previous Episode

undefined - 153: Playwright for Python: end to end testing of web apps - Ryan Howard

153: Playwright for Python: end to end testing of web apps - Ryan Howard

Playwright is an end to end automated testing framework for web apps with Python support and even a pytest plugin.

Links:


Sponsored by:

  • 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 β˜…

Next Episode

undefined - 155: Four Questions to Ask Frequently During Software Projects - Tim Ottinger

155: Four Questions to Ask Frequently During Software Projects - Tim Ottinger

Tim Ottinger has four questions that work great in many situations, from doing homework, to cooking, to writing code, to entire software projects.

They are actually awesome questions to ask during a software project.

We discuss the questions, where they came from, and look at some uses in software.

The questions:

  1. What is it that needs to be done?
  2. What do we need in order to do it?
  3. Where can we get what we need?
  4. How can we tell if we’re doing it right?

Bonus question that can be swapped out for #1:

  1. What's the most important thing that it doesn't do yet?

Links:


Sponsored by:

  • 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 β˜…

Episode Comments

Generate a badge

Get a badge for your website that links back to this episode

Select type & size
Open dropdown icon
share badge image

<a href="https://goodpods.com/podcasts/test-and-code-41514/154-dont-mock-your-database-jeff-triplett-14066895"> <img src="https://storage.googleapis.com/goodpods-images-bucket/badges/generic-badge-1.svg" alt="listen to 154: don't mock your database - jeff triplett on goodpods" style="width: 225px" /> </a>

Copy