Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This question is from Software testing. a set N of nodes a set N0 of initial nodes, where N0 N a set Nf of final

This question is from Software testing.

a set N of nodes a set N0 of initial nodes, where N0 N a set Nf of final nodes, where Nf N a set E of edges, where E is a subset of N N

Answer questions ad for the graph defined by the following sets:

N = {1, 2, 3}

N0 = {1}

Nf = {3}

E = {(1, 2), (1, 3), (2, 1), (2, 3), (3, 1)}

Also consider the following (candidate) paths:

p1 = [1, 2, 3, 1]

p2 = [1, 3, 1, 2, 3]

p3 = [1, 2, 3, 1, 2, 1, 3]

p4 = [2, 3, 1, 3]

p5 = [1, 2, 3, 2, 3]

(a) Which of the listed paths are test paths? For any path that is not a test path, explain why not.

(b) List the eight test requirements for Edge-Pair Coverage (only the length two subpaths).

(c) Does the set of test paths from part (a) above satisfy Edge-Pair Coverage? If not, state what is missing.

(d) Consider the prime path [3, 1, 3] and path p2. Does p2 tour the prime path directly? With a sidetrip?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions