What problem does it solve?
This Skill helps you design, review, and implement strong Python test suites without reinventing testing patterns for every project. It reduces flaky tests, missing edge cases, and inconsistent coverage by giving you a clear pytest-centered workflow.
Core Features & Use Cases
- TDD Workflow: Build features with the red, green, refactor cycle so behavior is validated before implementation hardens.
- pytest Patterns: Use fixtures, parametrization, markers, and assertions to keep tests readable and reusable.
- Mocking and Async Coverage: Handle external dependencies, context managers, exceptions, and async code with disciplined test isolation.
- Use Case: A developer working on a FastAPI service can use this Skill to create unit, integration, and API tests with shared fixtures and coverage goals.
Quick Start
Use the python-testing skill to design a pytest-based test suite for the current Python codebase with fixtures, parametrization, mocking, async testing, and coverage targets.