What problem does it solve? Writing reliable Python tests requires knowing many pytest patterns—fixtures, mocking, parameterization, async testing, and coverage setup—and developers often struggle to structure test suites correctly or handle edge cases like external APIs, databases, and time-dependent code. ## Core Features & Use Cases - Pytest Patterns: Provides ready-to-use templates for unit tests, fixtures with setup/teardown, parameterized tests, and exception testing. - Mocking & Isolation: Covers unittest.mock, monkeypatch, temporary directories, and freezegun for testing code with external dependencies, environment variables, and time-based logic. - Advanced Testing: Includes async test patterns with pytest-asyncio, property-based testing with hypothesis, database testing with SQLAlchemy, and CI/CD integration with coverage thresholds. - Use Case: When building a new API client, use this Skill to generate a complete test suite that mocks HTTP requests, tests retry logic, validates error handling, and enforces 80% coverage in CI. ## Quick Start Write a pytest test suite for my Python module with fixtures, mocked external API calls, and parameterized edge case tests.