Skip to content

Pytest plugin for automating test parallelism checks #86

Open

Description

Hey,

We just published a pytest plugin to automate running a test suite in parallel since this isn't possible with pytest-xdist.

https://pypi.org/project/pytest-freethreaded/

The pattern is loosely based on guidance in this repo.

We also discovered when running a couple of test suites some pretty nasty bugs, including a segfault in Pillow tonybaloney/pytest-freethreaded#11

Think it could be worth mentioning the plugin on the site (happy to submit a PR).

It's not designed to be run in CI since

  1. It would be really slow
  2. Concurrency bugs are not necessarily the fault of no-gil

Instead, I expect maintainers to run this a few times to help find any really nasty bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions