Highlights
- This plugin should now work fine with tests running in parallel with other plugins such as
pytest-run-parallel,pytest-swarm, orpytest-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_logfrom 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, andpytest-run-parallel.