How do you decide when to stop testing?

Technical