211: Stamp out test dependencies with pytest plugins
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:
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
Sponsored by PyCharm Pro
- Use code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharm
- First 10 to sign up this month get a free month of AI Assistant
- See how easy it is to run pytest from PyCharm at pythontest.com/pycharm
The Complete pytest Course
- For the fastest way to learn pytest, go to courses.pythontest.com
- Whether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.
Creators and Guests
![211: Stamp out test dependencies with pytest plugins](https://img.transistor.fm/GmBvN9TVwjbBQ8IVgvx3QkEMZpthq0tK-iJBh94ymf8/rs:fill:800:800:1/q:60/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzQzMjkxLzE2OTUy/NDgxMTctYXJ0d29y/ay5qcGc.webp)