QuestionQ37

Chapter 3: Static Testing

Which of the following assertions about white-box test techniques is true?

  • A Achieving full statement coverage and full branch coverage for a software product means that such software product has been fully tested and there are no remaining bugs within the code.
  • B Code-related white-box test techniques are not required to measure the actual code coverage achieved by black-box testing, as code coverage can be measured using the coverage criteria associated with black-box test techniques.
  • C Branch coverage is the most thorough code-related white-box test technique, and therefore applicable standards prescribe achieving full branch coverage at the highest safety levels for safety-critical systems.
  • D Code-related white-box test techniques provide an objective measure of coverage and can be used to complement black-box test techniques to increase confidence in the code.
Explanation

Code-related white-box techniques produce an objective measure of the code that tests have exercised. They complement black-box techniques by revealing unexecuted or insufficiently exercised code and thereby increasing confidence in the code, without proving that it is defect-free.

Community Discussion

No comments yet. Be the first to start the discussion!