{"library":"pytest-run-parallel","title":"pytest-run-parallel","description":"A pytest plugin to run tests concurrently using threads. It automatically detects thread-unsafe tests (e.g., using fixtures like tmp_path, monkeypatch, capsys, or mocking) and marks them as serial. Version 0.8.2 supports Python >=3.9. Releases are intermittent.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install pytest-run-parallel"],"cli":null},"imports":["pytest_plugins = ['pytest_run_parallel']"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# In your project root, run:\npytest --parallel-threads=auto\n# Or set a fixed number:\npytest --parallel-threads=4\n# To detect thread-unsafe tests (default on):\npytest --parallel-threads=auto --detect-thread-unsafe\n","lang":"python","description":"Run pytest with parallel threads. The plugin automatically parallelizes tests unless they are detected as thread-unsafe.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}