What problem does it solve?
This Skill helps you write, fix, and improve Python tests using pytest so you can catch regressions quickly and diagnose failures with clear, repeatable checks.
Core Features & Use Cases
- pytest-based test generation: creates unit and integration tests for Python code, aligned to common project layouts and naming conventions.
- Failure and flakiness diagnosis: provides a structured approach to reproducing issues, isolating nondeterminism, and using the right tools for async and time-sensitive behavior.
- Coverage and configuration guidance: recommends pytest configuration and execution commands to support CI gating and coverage improvements.
Use case: You changed a Python utility function and a previously passing test suite now fails intermittently in CI; this Skill helps you generate targeted tests, add the missing fixtures/mocks, and stabilize async or time-dependent assertions.
Quick Start
Ask the AI to: "Write pytest tests for the failing Python module, including any needed fixtures and a pytest execution command for quick verification."