Comparison
aiounittest vs asynctest vs pytest-asyncio
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Test asyncio code more easily.
Low maintenance activity. Last release 21 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install aiounittestEnhance the standard unittest package with features for testing asyncio libraries
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install asynctestPytest support for asyncio
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pytest-asyncioIn short
- asynctest looks abandoned: avoid it for new projects.
- pytest-asyncio is the most used: 292.9M downloads a month, 47× more than asynctest.
- pytest-asyncio also has the best Pythie’s Index (91).
- pytest-asyncio is growing fastest: downloads +13% over the last month.
- Safe default for a new project: pytest-asyncio.
Side by side
| Metric | aiounittest | asynctest | pytest-asyncio |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | 14 |