
Episode 516: Brian Okken on Testing in Python with pytest
About this episode
In this episode, we explore the popular pytest python testing tool with author Brian Okken, author of Python Testing with pytest. We start by discussing why pytest is so popular in the Python community: its focus on simplicity, readability, and developer ease-of-use; what makes pytest unique; the setup and teardown of tests using fixtures, parameterization, and the plugin ecosystem; mocking; why we should design for testing, and how to reduce the need for mocking; how to set up a project for testability; test-driven development, and designing your tests so that they support refactoring. Finally, we consider some complementary tools that can improve the python testing experience.
Get every episode summarized
Each time Software Engineering Radio - the podcast for professional software developers publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Software Engineering Radio - the podcast for professional software developers

SE Radio 718: Will Sentance on JS Modernization
Software Engineering Radio - the podcast for professional software developers

SE Radio 717: Eric Tschetter on Decoupling Observability
Software Engineering Radio - the podcast for professional software developers

SE Radio 716: Martin Kleppmann Local-First Software
Software Engineering Radio - the podcast for professional software developers

SE Radio 715: Sahaj Garg on Designing for Ambiguity in Human Input
Software Engineering Radio - the podcast for professional software developers