
from claude-plugin-marketplace39
Comprehensive pytest-based Python testing guide: fixtures, parameterized tests, mocking, async testing, coverage, and FastAPI test patterns.
Provides a complete, practical reference for testing Python projects using pytest and related tools. Covers test structure, fixtures with scopes, parameterized tests, mocking patterns (pytest-mock), async testing with pytest-asyncio, coverage configuration, FastAPI testing with httpx, property-based testing with Hypothesis, and snapshot testing. Includes examples, recommended commands, and configuration snippets to get reproducible, high-coverage test suites.
Use this skill when you need to: write or improve pytest test suites, add fixtures and scoped resources, mock external dependencies, test async code or FastAPI endpoints, measure and enforce coverage, or adopt property-based/snapshot testing practices. It activates for test authoring, CI test pipeline setup, debugging flaky tests, or onboarding testing patterns for a Python codebase.
{}
This skill has not been reviewed by our automated audit pipeline yet.