What problem does it solve? Writing reliable Python tests requires knowing pytest patterns for fixtures, mocking, parametrization, async code, and coverage, which developers often implement 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. - pytest Patterns: Covers fixtures with scopes and teardown, parametrization, markers, mocking with unittest.mock, async testing with pytest-asyncio, and exception testing. - Coverage & Configuration: Provides pytest.ini and pyproject.toml configurations targeting 80%+ coverage with HTML and terminal reports. - Use Case: When building a new FastAPI endpoint, use this Skill to generate a test suite with a test client fixture, parametrized input cases, mocked database calls, and a coverage report. ## Quick Start Write pytest tests for my Python module using TDD with fixtures, parametrization, and coverage reporting.