python-testing-advanced

Installation
SKILL.md

Python Testing — Advanced Patterns

This skill extends python-testing with async testing, advanced mocking, test organization, common patterns, and configuration.

When to Activate

  • Testing async code (FastAPI, aiohttp, asyncio)
  • Structuring large test suites
  • Setting up pytest configuration for projects
  • Testing database layers, API endpoints, or class methods in depth
  • Mocking async functions and async context managers with AsyncMock
  • Writing integration tests for FastAPI endpoints using httpx.AsyncClient
  • Configuring pytest.ini or pyproject.toml with coverage thresholds and custom markers
  • Organizing tests into unit, integration, and e2e directories with appropriate shared conftest fixtures

Testing Async Code

pytest-asyncio Setup

Installs
1
GitHub Stars
14
First Seen
Jun 2, 2026
python-testing-advanced — marvinrichter/clarc