What problem does it solve? Writing reliable Python tests is often inconsistent: developers skip TDD, forget edge cases, or write brittle tests that break on refactors. This Skill provides structured pytest patterns covering the full testing workflow so tests are thorough, maintainable, and fast. ## Core Features & Use Cases - TDD Workflow Guidance: Enforces the red-green-refactor cycle with concrete examples for writing failing tests first, then minimal implementations. - Fixtures, Mocking & Parametrization: Covers fixture scopes, conftest.py sharing, unittest.mock patching, autospec, and parametrized tests for broad input coverage. - Coverage & Test Organization: Targets 80%+ coverage with pytest-cov, marker-based test selection (slow/integration/unit), and a standard tests/ directory layout. - Use Case: When building a new FastAPI endpoint, use this Skill to generate a test suite with a test client fixture, mocked database calls, parametrized input validation cases, and a coverage report. ## Quick Start Write pytest tests for my Python module using TDD, fixtures, mocking, and parametrization with coverage reporting.