
from claude-code-python-stack37
Guides and best-practice patterns for Python testing using pytest, TDD, fixtures, mocking, parametrization and coverage goals.
Provides a compact but comprehensive reference for writing and organizing Python tests with pytest. Covers TDD workflow (red/green/refactor), fixtures (scoped setup/teardown), parametrization, mocking/patching, async tests, coverage measurement, and recommended test organization. Includes commands for running tests and generating coverage reports.
Activate this skill when authoring new Python code, designing test suites, improving test coverage, reviewing test strategy, or setting up CI test workflows. Useful during onboarding, code reviews and when migrating legacy tests.
Compatible with agents or environments that can interpret Python test commands and run shell/CI tasks (Claude Code, CI automation tools, local developer workflows).
This skill has not been reviewed by our automated audit pipeline yet.