
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).
A documentation-only skill providing comprehensive pytest testing patterns for Python. Covers TDD methodology, fixtures, parametrization, mocking, async testing, and best practices with clear code examples. No bundled scripts to execute. Well-written and practical for Python developers, though not unique in the ecosystem.
Clean skill, no security concerns. Single SKILL.md with no scripts/ or references/ directories. Good coverage of pytest fundamentals but lacks progressive disclosure or output contracts per skill spec.