What problem does it solve?
This Skill systematically diagnoses and fixes flaky tests, which are tests that intermittently pass and fail without code changes, leading to unreliable CI/CD pipelines and wasted developer time.
Core Features & Use Cases
- Root Cause Analysis: Identifies common flaky test patterns like timing issues, shared state, randomness, and network dependencies.
- Stabilization Strategies: Provides concrete solutions and best practices to make tests deterministic and reliable.
- Automated Detection: Includes a script to run tests multiple times and report flaky tests.
- Use Case: A developer is experiencing intermittent failures in their test suite. They can use this Skill to pinpoint the exact tests that are flaky, understand why they are failing (e.g., a race condition), and apply the recommended fixes to achieve stable test results.
Quick Start
Run the flaky test detection script to identify unstable tests in your project.