U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ISTQB-CTFL Exam - Topic 6 Question 62 Discussion

Which ONE of the following options MOST ACCURATELY describes branch testing?
C) In branch testing, the coverage items are branches, and the aim is to design test cases to exercise branches in the code until an acceptable level of coverage is achieved. Coverage is measured as the number of branches exercised by the test cases divided by the total number of branches expressed as a percentage.
A) In branch testing, the coverage items are executable statements. The aim is to design test cases that exercise statements in the code until an acceptable level of coverage is achieved, expressed as a percentage.
B) In branch testing, the coverage items are control flow transfers between decisions, and the aim is to design test cases to exercise flow transfers in the code until an acceptable level of coverage is achieved. Coverage is measured as the number of branches exercised by the test cases divided by the total number of branches expressed as a percentage.
D) In branch testing, the coverage items are executable decisions. The aim is to design test cases that exercise statements in the code until an acceptable level of coverage is achieved. Coverage is expressed as a percentage.

ISTQB-CTFL Exam - Topic 6 Question 62 Discussion

Actual exam question for ISTQB's ISTQB-CTFL exam
Question #: 62
Topic #: 6
[All ISTQB-CTFL Questions]

Which ONE of the following options MOST ACCURATELY describes branch testing?

Show Suggested Answer Hide Answer
Suggested Answer: C

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.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel