pytest-async-testing
Installation
SKILL.md
Pytest Async Testing
Purpose
Async testing requires special handling of event loops, context managers, and async fixtures. This skill provides production-ready patterns for testing all async scenarios in modern Python.
Quick Start
Configure pytest for auto-detection of async tests:
# pyproject.toml
[tool.pytest.ini_options]
asyncio_mode = "auto" # Auto-detect async tests
asyncio_default_fixture_loop_scope = "function" # Max isolation per test
Then write async tests naturally:
Related skills