Test & Code in Python

154: Don't Mock your Database - Jeff Triplett

May 21st, 2021  •  31 mins 39 secs  •  Download (21.8 MB)  •  Link with Timestamp

RSS Feed

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.