Skip to Main Content
Foundations of Software Testing (Fundamental Algorithms and Techniques) by Pearson
book

Foundations of Software Testing (Fundamental Algorithms and Techniques) by Pearson

by Aditya P. Mathur
May 2024
Intermediate to advanced content levelIntermediate to advanced
765 pages
21h 57m
English
Pearson India
Content preview from Foundations of Software Testing (Fundamental Algorithms and Techniques) by Pearson
Test Generation
Program P5.3
NBJO\
JOU YZ[ 3FQMBDFE CZ
JOU Y Z GMPB [
[
JOQVU Y Z
JGYZ
\[YZ PVUQVU[^
PVUQVU GMPBU YZ
FOE
^
T
3TART
F
%ND
MAIN



USE[XY]
USE[XYZ]
USE[XY]
,INES
)LJ  Program and its CFG for Example 5.11.
z is changed from JOU to GMPB. We refer to the original and the
modified programs as P and P
, respectively. It is easy to see that
gdeclChange =∅and declChange
mai n
= {z}. Suppose the following
test set is used for testing P:
T =
t
1
:< x = 1, y = 3 >
t
2
:< x = 2, y = 1 >
t
3
:< x = 3, y = 4 >
We can easily trace CFG(P) for each test case to find the test vectors ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Effective Software Testing, Video Edition

Effective Software Testing, Video Edition

Mauricio Aniche

Publisher Resources

ISBN: 9781299486720