Flaky Test

noun

say it: “FLAY-kee TEST” /ˈfleɪki tɛst/

A test that passes or fails from run to run though no code changed, often because it depends on the real clock, the network or another test.

What is Flaky Test?

A flaky test sometimes passes and sometimes fails with no code change, usually because of timing, shared state or network calls.

In a sentence

  • “The late-fee test was a flaky test until we handed it a fake clock.”

Level: Freelancer · More Unit Testing terms at this level

Updated