{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"}],"enrichment":{"capability":"A pytest plugin that automatically runs async test functions and fixtures without requiring special markers, supporting asyncio, trio, and curio backends.","skillfed_tags":["async-testing","pytest-plugin","multi-backend"],"use_cases":["Testing asyncio-based applications without writing wrapper functions or using pytest-asyncio decorators","Running the same test suite against multiple async backends (asyncio, trio, curio) to verify compatibility","Using async fixtures in sync tests by including the aiolib fixture to manage the event loop lifecycle","Testing trio-asyncio interop code by parametrizing the aiolib fixture with trio+asyncio configuration","Verifying async code with custom event loop factories (e.g., uvloop) by passing backend options"],"what_it_does":"pytest-aio is a pytest plugin that detects and runs async test functions and fixtures without requiring explicit markers or decorators. It supports asyncio, trio, and curio as async backends, automatically parametrizing tests across all installed backends by default. The plugin handles contextvars correctly for both async and sync fixtures, and includes a helper fixture (aiosleep) that abstracts over the sleep function of whichever backend is currently running.\n\nYou install it alongside pytest and write async test functions as you normally would; the plugin intercepts them at collection time and runs them through the appropriate event loop. You can customize which backends run globally via a fixture override, or mark individual tests to run on specific backends. It's designed for straightforward async testing without boilerplate.","worth_installing":"Yes. It is a lightweight, permissively licensed plugin with no security vulnerabilities, low install friction, and straightforward async test support. The aging maintenance status is not a blocker\u2014the codebase is stable and the repo remains active. Install it if you need to test async Python code with pytest and want to avoid boilerplate or test across multiple async backends."},"id":"pytest-aio","links":{"html":"https://skillfed.io/packages/pytest-aio","md":"https://skillfed.io/packages/pytest-aio.md","pypi":"https://pypi.org/project/pytest-aio/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-02-12","license_spdx":"MIT","license_treatment":"permissive","name":"pytest-aio","python_support":"supports_current","summary":"Pytest plugin for testing async python code"},"popularity":{"monthly_downloads":77898,"position":14483,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.7"}
