1. Software Engineering
  2. Code Quality

Flaky Tests

Number

Flaky tests are those that produce inconsistent results each time they are run. They can undermine confidence in the testing process and lead to overlooked defects.

Formula

Count of Tests with Inconsistent Results

Example

If 5 tests out of a suite of 100 exhibit flaky behavior, the count is 5.