Skip to content

3.0.0

Latest

Choose a tag to compare

@okken okken released this 11 Oct 06:10
· 1 commit to main since this release

Highlights

  • This plugin should now work fine with tests running in parallel with other plugins such as pytest-run-parallel, pytest-swarm, or pytest-freethreaded.
  • Thanks dpadninja for getting the ball rolling on this

Migration Notes

  • Failures raised in helper threads remain part of their parent test's report. When reading check_log from a worker thread, its failure state is now independent of other concurrently running threads.

Changed

  • Check failure state is now isolated per thread and aggregated through parent/child thread relationships, preserving a test's combined failure report when it starts helper threads.

Fixed

  • Prevent failure counts and messages from leaking between tests executed concurrently in threads.
  • Verify thread-state isolation with pytest-swarm, pytest-freethreaded, and pytest-run-parallel.