pytest-dev/pytest-asyncio
Asyncio support for pytest observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 74
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 52.5
- age_days: 4163
- days_rel: 99
- days_push: 7
- n_releases_24m: 11
Adoption not part of the score
1657 stars · 199 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A pytest plugin that enables testing of asyncio-based Python code by supporting coroutines as test functions. It lets developers write async test functions with the @pytest.mark.asyncio marker and await code directly inside tests.
Use cases
- test async python functions with pytest
- run coroutine test functions in pytest
- await async code inside unit tests
- test asyncio-based libraries
- write async test cases for python web services
When to choose
- you use pytest and need to test asyncio coroutines
- your python codebase uses async/await and you want idiomatic pytest tests
- you want a lightweight plugin rather than a separate async test framework
When to avoid
- your tests subclass unittest.TestCase - use unittest.IsolatedAsyncioTestCase instead
- you don't use pytest as your test runner
- you need to test other async frameworks like trio (use trio's pytest plugin)
Facets
plugin · maturity stable
testing e2e-testing testing developer-tools python cli pytest-plugin asyncio coroutines unit-testing
2 sources
- readme: https://github.com/pytest-dev/pytest-asyncio · fetched 2026-08-28 · a02b898b031e
- registry_pypi: https://pypi.org/pypi/pytest-asyncio/json · fetched 2026-08-29 · 7513f0ca96eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pytest-dev/pytest-asyncio | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="pytest-dev/pytest-asyncio")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem