CTFL_SYLL_4.0 · Question #214
Which of the following statements is CORRECT about White-box testing?
The correct answer is A. White-box testing helps find defects because they can be used to measure statement. White-box testing, also known as structural testing, involves testing the internal structures or workings of an application, as opposed to its functionality (which is tested by black-box testing). The correct statement about white-box testing is that it helps find defects by…
Question
Which of the following statements is CORRECT about White-box testing?
Options
- AWhite-box testing helps find defects because they can be used to measure statement
- BWhite-box testing helps find defects even when specifications are vague because it takes into
- CWhite-box testing helps find defects because it provides for requirements based coverage
- DWhite-box testing helps find defects because it focuses on defects rather than failures
How the community answered
(15 responses)- A93% (14)
- C7% (1)
Explanation
White-box testing, also known as structural testing, involves testing the internal structures or workings of an application, as opposed to its functionality (which is tested by black-box testing). The correct statement about white-box testing is that it helps find defects by measuring aspects such as statement coverage. Statement Coverage: White-box testing techniques like statement coverage measure whether each statement in the code has been executed at least once. This helps ensure that all parts of the code are tested and can reveal defects in areas that might not be reached by black-box
Topics
Community Discussion
No community discussion yet for this question.