Which of the following is NOT a valid use of decision coverage?
A.
Checking that all decisions have been exercised in a single program
B.
Checking that all decisions have been exercised in a business process
C.
Checking that all calls from one program module to another have been made correctly
D.
Checking that at least 50% of decisions have been exercised by a test case suite
The Answer Is:
C
This question includes an explanation.
Explanation:
Decision coverage is a testing metric used to ensure that all possible paths (decisions) in the code have been executed at least once. It is not used to verify the correctness of module calls, which ismore related to integration testing or control flow testing. Options A, B, and D describe valid uses of decision coverage, ensuring that decisions are exercised in programs, business processes, and measuring the extent of coverage by a test suite .
CTFL-Foundation PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"