# SE Radio 516: Brian Okken on Testing in Python with Pytest

> Episode of [Software Engineering Radio - the podcast for professional software developers](https://podistic.com/podcast/software-engineering-radio-the-podcast-for-professional-software-developers.md) · Published June 16, 2022 · Duration 50:39 · Episode 516, season 1

- **Listen on Podistic:** https://podistic.com/episode/se-radio-516-brian-okken-on-testing-in-python-with-pytest
- **Audio:** https://traffic.libsyn.com/secure/seradio/516-brian-okken-testing-python-with-pytest.mp3?dest-id=23379 (audio/mpeg)

## 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.
