What problem does it solve?
Provides clear, reusable patterns and examples to reduce friction when writing Python tests, helping developers structure tests, manage fixtures, and apply mocking and markers correctly.
Core Features & Use Cases
- Fixture patterns and lifecycle management for isolated and reusable test setups.
- Mocking and MagicMock usage examples for isolating external services and verifying interactions.
- Parametrization guidance for concise coverage of multiple input cases and async test examples for coroutine-based code.
- Marker and test selection strategies for slow, integration, or platform-specific tests and common pytest CLI usage for local development and CI pipelines.
Quick Start
Ask the pytest skill for fixture, mocking, and parametrization examples tailored to a specific Python module or test scenario.