211: Stamp out test dependencies with pytest plugins
Update: 2023-12-15
Description
We want to be able to run tests in a suite, and debug them in isolation, and have the behavior be the same.
If the behavior is different in isolation vs in a suite, it's a nightmare to debug.
In this episode, we'll talk about:
- Causes of dependence
- Testing for dependencies using plugins
- Debugging test dependencies
Plugins discussed:
- pytest-randomly
- pytest-reverse
- pytest-random-order
Learn pytest
- pytest is the number one test framework for Python.
- Learn the basics super fast with Hello, pytest!
- Then later you can become a pytest expert with The Complete pytest Course
- Both courses are at courses.pythontest.com
Comments
Top Podcasts
The Best New Comedy Podcast Right Now – June 2024The Best News Podcast Right Now – June 2024The Best New Business Podcast Right Now – June 2024The Best New Sports Podcast Right Now – June 2024The Best New True Crime Podcast Right Now – June 2024The Best New Joe Rogan Experience Podcast Right Now – June 20The Best New Dan Bongino Show Podcast Right Now – June 20The Best New Mark Levin Podcast – June 2024
In Channel