{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"A pytest plugin that runs tests in parallel using multiprocessing and concurrently using multithreading, designed for test suites that are thread-safe and benefit from non-blocking I/O.","skillfed_tags":["abandoned","multiprocessing","concurrency"],"use_cases":["Speed up Selenium test suites that are thread-safe and can run concurrently without state conflicts.","Run I/O-bound tests (e.g., HTTP requests) concurrently within worker processes to reduce wall-clock time.","Distribute test execution across multiple CPU cores on Unix/Mac systems using the --workers auto flag.","Execute a fixed number of concurrent tests per worker on Windows systems using --tests-per-worker."],"what_it_does":"pytest-parallel is a pytest plugin that adds two execution modes: multiprocessing (via --workers) and multithreading (via --tests-per-worker), allowing you to run tests faster when they are thread-safe and use non-blocking I/O. It differs from pytest-xdist, which is better suited for tests that need process isolation or are not thread-safe; pytest-parallel targets scenarios like Selenium tests that manage little state and can benefit from concurrent execution within or across worker processes.\n\nThe plugin is configured via command-line flags: --workers sets the number of processes (defaulting to 1, or auto for one per core), and --tests-per-worker sets concurrent tests per worker (defaulting to 1, or auto for up to 50). However, the package has been abandoned since 2024-05-29, with the repository archived and no active maintenance, so compatibility with recent Python and pytest versions is uncertain.","worth_installing":"No. The package is abandoned (last release 2021-10-10, repository archived as of 2024-05-29) and offers no active maintenance or compatibility updates. For parallel testing, prefer pytest-xdist (actively maintained) or native pytest parallelization features. If you have an existing codebase using pytest-parallel, consider migrating to a maintained alternative."},"id":"pytest-parallel","links":{"html":"https://skillfed.io/packages/pytest-parallel","md":"https://skillfed.io/packages/pytest-parallel.md","pypi":"https://pypi.org/project/pytest-parallel/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-10-10","license_spdx":null,"license_treatment":"permissive","name":"pytest-parallel","python_support":"unspecified","summary":"a pytest plugin for parallel and concurrent testing"},"popularity":{"monthly_downloads":764647,"position":5122,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.1"}
