Home › Software Testing › Software Testing › fundamentals_levels_techniques › Branch (decision) coverage requires
Branch (decision) coverage requires
AEvery decision to take both true and false
BEvery statement to be executed at least once
CEvery loop to be executed exactly twice
DEvery variable to be assigned at least once
Answer & Solution
Correct answer: A. Every decision to take both true and false
Branch coverage = each decision point's true and false outcomes both exercised. Implies statement coverage but is stronger. MC/DC coverage (used in DO-178B avionics) adds further conditions independence requirements.
Related questions
Exit criteria for a test phase typically includeTest-driven development (TDD) follows the cycleIn Agile, the tester's role is BEST described asSelenium is BEST described asWhich is a recognised BENEFIT of test automation?Risk-based testing prioritises test effort byA defect lifecycle typically begins with statusA test plan typically describes