128: pytest-randomly - Adam Johnson

128: pytest-randomly - Adam Johnson

Update: 2020-08-28
Share

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.

Sponsored By:

Support Test & Code : Python Testing for Software Engineering

Links:

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

128: pytest-randomly - Adam Johnson

128: pytest-randomly - Adam Johnson

Brian Okken