41 min listen
128: pytest-randomly - Adam Johnson
FromTest and Code
ratings:
Length:
18 minutes
Released:
Aug 28, 2020
Format:
Podcast episode
Description
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.
Special Guest: Adam Johnson.
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.
Special Guest: Adam Johnson.
Released:
Aug 28, 2020
Format:
Podcast episode
Titles in the series (100)
12: Coverage.py with Ned Batchelder: We also discuss edX, Python user groups, PyCon talks, and more. by Test and Code