Python Test

211: Stamp out test dependencies with pytest plugins

12.15.2023 - By Brian OkkenPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

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 dependenceTesting for dependencies using pluginsDebugging test dependenciesPlugins discussed:pytest-randomlypytest-reversepytest-random-order

Sponsored by PyCharm ProUse code PYTEST for 20% off PyCharm Professional at jetbrains.com/pycharmFirst 10 to sign up this month get a free month of AI AssistantSee how easy it is to run pytest from PyCharm at pythontest.com/pycharmThe Complete pytest CourseFor the fastest way to learn pytest, go to courses.pythontest.comWhether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.

More episodes from Python Test