What problem does it solve? Writing reliable Python tests requires knowing pytest's fixture system, mocking patterns, parametrization, and coverage tooling, which developers often apply inconsistently or skip entirely. ## Core Features & Use Cases - TDD Workflow Guidance: Enforces the red-green-refactor cycle with concrete examples for writing failing tests first. - Fixtures and Parametrization: Covers fixture scopes, setup/teardown, conftest.py sharing, and parametrized tests to eliminate duplication. - Mocking and Async Testing: Demonstrates unittest.mock patching, autospec, exception simulation, and pytest-asyncio patterns. - Use Case: When building a new FastAPI endpoint, use this Skill to generate a test suite with an in-memory database fixture, mocked external API calls, and coverage reporting targeting 80%+. ## Quick Start Write pytest tests for my Python module using TDD with fixtures, parametrization, and coverage reporting.