when you should stop testing code example

Example 1: when to stop testing

It depends on the risks for the
system being tested. There are 
some criteria bases on which you 
can stop testing.
o Deadlines (Testing, Release)
o Test budget has been depleted
o Bug rate fall below certain level
o Test cases completed with certain
percentage passed
o Alpha or beta periods for testing ends
o Coverage of code, functionality or 
requirements are met to a specified point

Example 2: when should you stop testing

It depends on the risks for the system
being tested. There are some criteria
bases on which you can stop testing.
o Deadlines (Testing, Release)
o Test budget has been depleted
o Bug rate fall below certain level
o Test cases completed with certain 
percentage passed
o Alpha or beta periods for testing ends
o Coverage of code, functionality or 
requirements are met to a specified point