Which of the following white-box test techniques provides the highest level of coverage and could therefore be used to test this component?

A component has been analysed during a risk-assessment and rated as highly critical.

Which of the following white-box test techniques provides the highest level of coverage and could therefore be used to test this component?
A . Decision testing
B . Statement testing
C . Multiple condition testing
D . Modified condition/decision testing

Answer: D

Explanation:

Modified condition/decision testing (MC/DC) provides a higher level of coverage compared to other white-box testing techniques because it requires each condition in a decision to be shown to independently affect that decision’s outcome. It is more rigorous than both decision testing (which only requires each decision’s possible outcomes to be tested) and statement testing (which requires only each executable statement to be executed). Therefore, for a highly critical component, MC/DC is more appropriate as it ensures a more thorough assessment of the logic in the software component.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments