How much testing is enough?

When to stop testing?

This question - "When to stop testing" or "how much testing is enough" is very tricky to answer as we can never be sure that the system is 100% bug-free. But still there are some markers that help us in determining the closure of the testing phase of software development life cycle.

  • Sufficient pass percentage - Depending on the system, testing can be stopped when an agreed upon test case pass percentage is reached.
  • After successful test case execution - Testing phase can be stopped when one complete cycle of test cases is executed after the last known bug fix.
  • On meeting deadline - Testing can be stoppped after deadlines get met with no high priority issues left in system.
  • Mean Time Between failure (MTBF)- MTBF is the time interval between to inherent failures. Based on stakeholders decisions, if the MTBF is quite large one can stop the testing phase
  • Based on Code coverage value - Testing phase can be stopped when the automated code coverage reaches a certain acceptable value.