github okken/pytest-check 3.0.0

5 hours ago

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.

Don't miss a new pytest-check release

NewReleases is sending notifications on new releases.