🧪 QA & Testing · Test Automation
Eliminate flaky tests systematically
Quarantine, root-cause classes, and stabilization patterns restoring CI trustworthiness.
advanced~40 minQA EngineersSDETsTest Automation Engineers
Steps
- 1Auto-detect flakiness via retry-pass detection; report rate weekly
- 2Quarantine flaky tests immediately — a red CI must mean something
- 3Root-cause by class: timing/sleep → explicit waits; order-dependence → isolation
- 4Fix test-data collisions with unique-per-run factories
- 5Stabilize environment noise: ports, clocks, network mocks
- 6Burn down quarantine weekly; two-strikes rule for chronic offenders
Common Pitfalls
- ▲Auto-retry hiding flake instead of surfacing it
- ▲Deleting flaky tests silently losing coverage
Commands
Install with skills CLI
$ npx skills add aniruddhaadak80/skills --skill automation-flaky-test-eliminationInstall globally
$ npx skills add aniruddhaadak80/skills --skill automation-flaky-test-elimination -gTags
#flaky-tests#ci#reliability#qa-testing#automation