ABSTRACT

When should unit testing stop? Here are some possible answers:

When you run out of time

When continued testing causes no new failures

When continued testing reveals no new faults

When you cannot think of any new test cases

When you reach a point of diminishing returns

When mandated coverage has been attained

When all faults have been removed