Pytest Async Testing

Provides Complete patterns for testing async Python code with pytest: pytest-asyncio configuration, AsyncMock usage, async fixtures, testing FastAPI with AsyncClient, testing Kafka async producers/consumers, event loop and cleanup patterns. Use when: Testing async functions, async use cases, FastAPI endpoints, async database operations, Kafka async clients, or any async/await code patterns.

dawiddutoit Updated

File contents

dawiddutoit/custom-claude/tree/main/skills/pytest-async-testing commit 3623c51288

Frequently asked questions

npx skillmds@latest add dawiddutoit/pytest-async-testing