Pytest Patterns When to Use Activate this skill when: - Writing unit tests for service or repository classes - Writing integration tests for FastAPI endpoints with httpx.AsyncClient - Creating or refactoring pytest fixtures and conftest files - Setting up factory boy factories for test data - Testing async code with pytest-asyncio - Mocking external services (HTTP APIs, email, queues) - Adding parametrized tests for input variations - Auditing or improving test coverage Do NOT use this skill for: - Frontend React component or hook tests (use ) - E2E browser tests with Playwright (use ) - TDD…