Comparison
asynctest vs pytest-asyncio
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Enhance 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 2 weeks ago, commits in 25 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: 290.7M downloads a month, 46× more than asynctest.
- pytest-asyncio also has the best Pythie’s Index (91).
- pytest-asyncio is growing fastest: downloads +10% over the last month.
- Safe default for a new project: pytest-asyncio.
Side by side
| Metric | asynctest | pytest-asyncio |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | 91 |