...

/

Well Defined: The Second Quality of Valuable Tests

Well Defined: The Second Quality of Valuable Tests

Get an overview of well-defined valuable test quality and learn about problems that may arise while ensuring the quality of the test.

Well defined

A test is well-defined if running the same test repeatedly gives the same result. If the test is not well defined, the symptom will be intermittent, seemingly random test failures (sometimes called Heisenbugs, Heisenspecs, or Rando Calrissian).

Repeatability problems

The three classic causes of repeatability problems are:

  • Time and date testing
  • Random numbers
  • Third-party or Ajax calls

These all have the same root cause: ensuring that each test is run in a consistent environment is impossible. Dates and times have a nasty habit of never staying the same. The time is continually increasing, ...