Flaky Test Detector

IntermediatestingContexto mínimo: 32K

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.

Casos de uso

  • 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

Prompt de ejemplo

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]
```

Modelos recomendados

Herramientas compatibles

claude-codecursorgithub-copilotkiroany

Modalidades

Entrada: code, text
Salida: code, text

Skills relacionadas

Autor

OpenModels Community

@openmodelsrun