Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5. Answer questions a-g for the graph defined by the following sets: N={1,2,3,4,5,6,7}N0={1}Nf={7}E={(1,2),(1,7),(2,3),(2,4),(3,2),(4,5),(4,6),(5,6),(6,1)} Also consider the following (candidate) test paths: p1=[1,2,4,5,6,1,7]p2=[1,2,3,2,4,6,1,7]p3=[1,2,3,2,4,5,6,1,7] (a) Draw the graph.
5. Answer questions a-g for the graph defined by the following sets: N={1,2,3,4,5,6,7}N0={1}Nf={7}E={(1,2),(1,7),(2,3),(2,4),(3,2),(4,5),(4,6),(5,6),(6,1)} Also consider the following (candidate) test paths: p1=[1,2,4,5,6,1,7]p2=[1,2,3,2,4,6,1,7]p3=[1,2,3,2,4,5,6,1,7] (a) Draw the graph. (b) List the test requirements for Edge-Pair Coverage. (Hint: You should get 12 requirements of length 2.) (c) Does the given set of test paths satisfy Edge-Pair Coverage? If not, state what is missing. (d) Consider the simple path [3,2,4,5,6] and test path [1,2,3,2, 4,6,1,2,4,5,6,1,7]. Does the test path tour the simple path directly? With a sidetrip? If so, write down the sidetrip. (e) List the test requirements for Node Coverage, Edge Coverage, and Prime Path Coverage on the graph. (f) List test paths from the given set that achieve Node Coverage but not Edge Coverage on the graph. (g) List test paths from the given set that achieve Edge Coverage but not Prime Path Coverage on the graph
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