When is testing done?

How do you know you are done testing?