pytest-asyncio
Pytest plugin providing fixtures and decorators for testing asynchronous Python code using asyncio, including async fixtures and event loop management.
Our Verdict
Essential for async Python tests, but expect to re-read the changelog every upgrade due to config churn.
Pros
- Standard choice for async Python testing
- Async fixtures with scope management
- Event loop control per test or session
- Maintained under pytest-dev umbrella
Cons
- Frequent breaking changes across versions
- Configuration around loop scope confuses newcomers
- Mode settings (auto/strict) easy to misuse
When to Use pytest-asyncio
Good fit if you need
- Test asyncio coroutines with async def test functions
- Async fixtures for database connections and HTTP clients
- Event loop configuration for FastAPI and aiohttp tests
- Scope-aware async fixture management in test suites
Pricing
Price wrong?pytest-asyncio Pricing
- Pricing Model
- free
- Free Tier
- Yes
- Entry Price
- β
- Enterprise Available
- No
- Transparency Score
- β
Beta β estimates may differ from actual pricing
Estimated Monthly Cost
$25
Estimated Annual Cost
$300
Estimates are approximate and may not reflect current pricing. Always check the official pricing page.
Project Health
Health Score
8
today
54d
58
N/A
Apache-2.0
Last checked: 2026-04-21
Lock-in Assessment
π Thinking about migrating off pytest-asyncio?
Get an AI-drafted migration plan + a copy-paste email to pytest-asyncio support requesting a data export. Pick where you're moving to and tell us your context.
Looking for alternatives to pytest-asyncio?
Answer 4 quick questions β get an AI-ranked shortlist of tools that match your stack and requirements.
Open AI Tool FinderCommunity Discussion
Comments powered by Giscus (GitHub Discussions). You need a GitHub account to comment.