When do you stop testing?

  1. When the specified number of faults are found.

  2. When the test completion criteria are met.

  3. When all high and medium priority tests are complete.

  4. When all statements have been executed.


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of test completion criteria.

Option A) When the specified number of faults are found - This option is incorrect because the number of faults found does not determine when testing should stop. It is possible that more faults could exist even after the specified number is found.

Option B) When the test completion criteria are met - This option is correct. Test completion criteria are pre-defined conditions or metrics that determine when testing should be considered complete. These criteria are usually based on factors such as test coverage, test objectives, and risk analysis.

Option C) When all high and medium priority tests are complete - This option is incorrect because it only considers the completion of high and medium priority tests. Testing should not be stopped solely based on the completion of specific priority tests, as low priority tests or other factors may still be important.

Option D) When all statements have been executed - This option is incorrect because executing all statements does not guarantee that all possible scenarios and conditions have been tested. It is possible to have untested scenarios even if all statements have been executed.

The correct answer is B) When the test completion criteria are met. This option is correct because it considers the overall objectives and criteria for testing, ensuring that all necessary factors have been considered before stopping the testing process.

Find more quizzes: