235: pytest-django - Adam Johnson
In this episode, special guest Adam Johnson joins the show and examines pytest-django, a popular plugin among Django developers. He highlights its advantages over the built-in unittest framework, including improved test management and debugging. Adam addresses transition challenges, evolving fixture practices, and offers tips for optimizing test performance. This episode is a concise guide for developers looking to enhance their testing strategies with pytest-django.
Links:
Links:
- pytest-django - a plugin for pytest that provides a set of useful tools for testing Django applications and projects.
Help support the show AND learn pytest:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.
Creators and Guests

Guest
Adam Johnson
Adam Johnson is an author and solo consultant working with Ansible, AWS, Django, and Python. He is a member of the Django project Technical Board (2.2, 3.x, and 4.x release cycles), and a co-organizer of the The London Django Meetup. He is the author of Speed Up Your Django Tests and Boost Your Django DX.
