DiscoverTest & Code211: Stamp out test dependencies with pytest plugins
211: Stamp out test dependencies with pytest plugins

211: Stamp out test dependencies with pytest plugins

Update: 2023-12-15
Share

Description

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 dependence
  • Testing for dependencies using plugins
  • Debugging test dependencies

Plugins discussed:

  • pytest-randomly
  • pytest-reverse
  • pytest-random-order




 Learn pytest

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

211: Stamp out test dependencies with pytest plugins

211: Stamp out test dependencies with pytest plugins

Brian Okken