Test and Code   /     211: Stamp out test dependencies with pytest plugins

Subtitle
Duration
1236
Publishing date
2023-12-15 23:17
Link
https://podcast.pythontest.com/episodes/211-stamp-out-test-dependencies-with-pytest-plugins
Contributors
  Brian Okken
author  
Enclosures
https://media.transistor.fm/b98f14c5/8a5b400d.mp3
audio/mpeg

Shownotes

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



Sponsored by PyCharm Pro

The Complete pytest Course

  • For the fastest way to learn pytest, go to courses.pythontest.com
  • Whether your new to testing or pytest, or just want to maximize your efficiency and effectiveness when testing.