Question
In the hierarchy of test coverages, branch or decision coverage is said to subsume statement coverage meaning that every set of test cases that satisfies
In the hierarchy of test coverages, branch or decision coverage is said to subsume statement coverage meaning that every set of test cases that satisfies decision coverage also satisfies statement coverage. Consider the case where a fault was detected with a test set that satisfied statement coverage. Does this mean that the same fault will be discovered by any other test set that satisfies branch coverage? Show your solution with relevant examples. [Hint: Consider a simple ifthen condition and come with test cases to satisfy statement coverage as well as test cases that satisfy branch coverage and use these to validate your position.]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started