pytest-randomly - Adam Johnson
Episode 128 · August 28th, 2020 · 18 mins 12 secs
About this Episode
Software tests should be order independent. That means you should be able to run them in any order or run them in isolation and get the same result.
However, system state often gets in the way and order dependence can creep into a test suite.
One way to fight against order dependence is to randomize test order, and with pytest, we recommend the plugin pytest-randomly to do that for you.
The developer that started pytest-randomly and continues to support it is Adam Johnson, who joins us today to discuss pytest-randomly and another plugin he also wrote, called pytest-reverse.
When bad things happen, it's nice to know that Honeybadger has your back. 30% off for first 6 months when you mention Test & Code Podcast when signing up.
Try PyCharm Pro for 4 months and learn how PyCharm will save you time.
Talk Python Training
Online video courses for Python developers