Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Metrics & estimationSeniorCommonTroubleshooting

How is flaky test rate different from automation pass rate, and why does conflating them cause harm?

Answer

Pass rate tells you what fraction of runs passed; it cannot tell you whether a failure came from a real product defect, a timing issue, test data collision, or environment noise. A deterministic test that fails every time because of a genuine bug is not flaky, it is doing its job. Flaky test rate specifically measures non-deterministic results for the same code and inputs. Labeling low pass rate as 'instability' hides real defects behind a maintenance narrative, and labeling a flaky suite as 'passing' hides real risk behind a green build.

Strong answer includes

  • distinguishes deterministic failure from non-deterministic flakiness
  • states a genuine bug causing a consistent failure is not flaky
  • explains the harm of conflating the two in either direction

Practical example

A team's 'flaky test rate' dashboard actually counted every failing test as flaky, including a payment test that failed consistently because of a genuine regression; the regression sat unfixed for two weeks because it was auto-quarantined by the flaky-test process instead of being triaged as a defect.

#flaky-test-rate#automation-stability#metrics

Sources

Playwright best practicesMicrosoft · Reliable modern browser automationDOU — QA interview: 250+ questionsDOU · Coverage signal across Junior, Middle, Senior, AQA, web, mobile and practical topics