Flaky Test Detector

OrtatestingEn az 32K bağlam

Diagnoses and fixes flaky tests by analyzing test code and CI failure history for common sources of nondeterminism such as time and timezone dependence, order dependence, shared mutable state, race conditions, and unmocked network calls. Proposes targeted fixes and quarantine strategies to keep the suite trustworthy.

Kullanım alanları

  • Finding the root cause of an intermittently failing test
  • Removing order dependence and shared state between tests
  • Stabilizing time- and timezone-sensitive assertions
  • Deciding what to quarantine versus fix immediately

Örnek prompt

This test passes locally but fails ~15% of the time in CI. Analyze it for sources of flakiness,
identify the most likely root cause, and rewrite it to be deterministic. Note any shared state
or ordering assumptions it relies on.

```
[paste test code and a couple of failure logs]
```

Önerilen modeller

Uyumlu araçlar

claude-codecursorgithub-copilotkiroany

Modaliteler

Giriş: code, text
Çıkış: code, text

İlgili Skills

Yazar

OpenModels Community

@openmodelsrun