Skip to content

Releases: Quansight-Labs/pytest-run-parallel

v0.4.0

17 Apr 19:17

Choose a tag to compare

This is a major pytest-run-parallel release that adds several features, including a new option to add function and fixture names that should cause tests to be marked as thread-unsafe, skipping if hypothesis is used, as well as improved reports when running test suites in parallel.

This release also modifies the thread switch interval time value in order to increase the probability of thread collisions, therefore test execution time might increase as well.

What's Changed

  • Fix typo in README.rst by @Viicos in #28
  • Set thread switch interval to a small value during test execution by @andfoy in #31
  • Add a list of thread-unsafe fixtures and mark tests as thread-unsafe if usage is found by @andfoy in #33
  • Release thread start barrier in case an error occurs by @andfoy in #32
  • Add a configuration file option to extend the thread-unsafe fixture list by @andfoy in #34
  • Make sure sdist includes all files by @ngoldbaum in #39
  • fail more gracefully when a test item doesn't duck type by @ngoldbaum in #36
  • Implement a mechanism for registering and marking functions as thread-unsafe by @andfoy in #37
  • Automatically mark hypothesis tests as thread-unsafe by @ngoldbaum in #42
  • fix for hypotheis 6.131.0 release by @ngoldbaum in #43
  • Highlight which tests are being run in parallel by @andfoy in #44

New Contributors

Full Changelog: v0.3.1...v0.4.0

v0.3.1

05 Feb 20:28

Choose a tag to compare

Minor pytest-run-parallel release that adds auto as a value option to the --parallel-threads flag, allowing to autodetect the number of available threads of the current running environment. It also provides more information in the README.

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

06 Jan 17:38

Choose a tag to compare

Minor pytest-run-parallel release that automatically marks tests that make use of warnings handling as single threaded.

What's Changed

  • Mark tests as single-threaded if warning handling takes place by @andfoy in #19

Full Changelog: v0.2.0...v0.3.0

v0.2.0

13 Nov 20:26

Choose a tag to compare

Minor pytest-run-parallel that adds support for repeated execution. It also fixes several issues related to variable scoping and introduces a new marker for single-threaded tests.

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

30 Sep 22:03

Choose a tag to compare

First release of pytest-run-parallel, it allows for pytest and unittest-style classes to be run in parallel.