{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"}],"enrichment":{"capability":"A pytest plugin that executes async test functions concurrently rather than sequentially, grouped by parent scope to control which tests run together.","skillfed_tags":["async-testing","test-performance","pytest-plugin"],"use_cases":["Speed up integration test suites with many async I/O or network calls by running independent tests concurrently within the same class or module.","Reduce total test runtime for parametrized async tests by executing all parameter variants of a test concurrently when grouped.","Add per-test timeouts to catch hung async operations without blocking the entire test suite.","Run async tests concurrently while maintaining isolation at the group level, suitable for microservice or API test scenarios."],"what_it_does":"pytest-asyncio-concurrent is a pytest plugin that runs async test functions concurrently in groups rather than sequentially, designed to speed up I/O or network-bound test suites. It extends pytest's test loop to batch setup, call, and teardown phases for all tests in a group, then executes them concurrently within that group using asyncio. Tests are grouped by their parent scope (e.g., all methods in a class, all functions in a file), and you can explicitly assign tests to named groups via the `asyncio_concurrent` mark or rely on a default grouping strategy.\n\nThe plugin accepts a `timeout` parameter on the mark to fail tests that exceed a time limit, and supports configuration via CLI flags or pytest config files. It works alongside pytest and is compatible with parametrized tests. The trade-off is that concurrent execution breaks the test isolation principle for non-function-scoped fixtures, so you must verify your tests are safe to run concurrently before using it.","worth_installing":"Yes, if your test suite contains many async I/O-bound tests and you have verified that concurrent execution does not violate your fixture assumptions. The plugin is actively maintained, has no known vulnerabilities, and low install friction. Start with explicit grouping to control which tests run together, then validate that shared fixtures behave correctly under concurrent execution before relying on default grouping."},"id":"pytest-asyncio-concurrent","links":{"html":"https://skillfed.io/packages/pytest-asyncio-concurrent","md":"https://skillfed.io/packages/pytest-asyncio-concurrent.md","pypi":"https://pypi.org/project/pytest-asyncio-concurrent/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-09","license_spdx":null,"license_treatment":"permissive","name":"pytest-asyncio-concurrent","python_support":"supports_current","summary":"Pytest plugin to execute python async tests concurrently."},"popularity":{"monthly_downloads":92037,"position":13486,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.2"}
