Comprehensive and Detailed In-Depth Explanation:
Branch testing is a structural testing technique that ensures each branch (decision point) in the control flow is executed at least once. The goal is to measure branch coverage, which is the number of branches exercised divided by the total number of branches.
(A) describes statement testing, not branch testing.
(B) and (D) introduce confusion between decisions and statements, whereas branch testing focuses on control flow branches.
In simple terms, branch testing checks that all possible decision outcomes (true/false) are executed, whereas statement testing only ensures that each line of code is executed.
[Reference: ISTQB CTFL v4.0 Syllabus, Section 4.3.2 – Branch Testing, , ]
Submit