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
corresponding to s. However, we do need to find tests in T, used for
testing P, that must be included in the regression test set T
for P
.To
do so, suppose that (a) s defines variable x, as for example through an
assignment statement, and (b) RS(t, x, l) is the relevant slice for variable
x at location l corresponding to test case t T. We use the following
steps to determine whether t needstobeincludedinT
.
Step 1 Find the set S of statements s
1
, s
2
,..., s
k
, k 0thatusex.
Let n
i
, 1 i k denote the node corresponding to statement
s
i
in the DDG of P. A statement in S could be an assignment
that uses x in an expression, an output statement, or a func-
tion or method call. Note that x could also be a global vari-
able in which case all ...
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