Skip to Main Content
Foundations of Software Testing: Fundamental Algorithms and Techniques
book

Foundations of Software Testing: Fundamental Algorithms and Techniques

by Aditya P. Mathur
March 2007
Intermediate to advanced content levelIntermediate to advanced
709 pages
20h 23m
English
Pearson India
Content preview from Foundations of Software Testing: Fundamental Algorithms and Techniques
Test Generation
baaaa
,
baaaaa
,
baaaaaa
,
baaabaaa
baaaba
,
baaabaa
,
baaabaaa
,
baaabbaaa
baaaaa
,
baaaaaa
,
baaaaaaa
,
baaaabaaa
}
If we assume that the IUT has one extra state, that is m = 6, then
we obtain Z and the test set P · Z as follows:
Z
=
X
0
·
W
X
1
·
W
={
a
,
aa
,
aaa
,
baaa
,
aa
,
aaa
,
aaaa
,
abaaa
,
ba
,
baa
,
baaa
,
bbaaa
}
T
=
P
·
Z
={Â,
a
,
b
,
bb
,
ba
,
bab
,
baa
,
baab
,
baaa
,
baaab
,
baaaa
}.
{
a
,
aa
,
aaa
,
baaa
,
aa
,
aaa
,
aaaa
,
abaaa
,
ba
,
baa
,
baaa
,
bbaaa
}
3.6.6 TESTING USING THE W-METHOD
To test the given IUT M
i
against its specification M, we do the following
for each test input:
1. Find the expected response M(t) to a given test input t. This is
done by examining the specification. Alternately, if a tool is avail-
able, and the specification is executable, one could determine the
expected response automatically.
2. Obtain ...
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

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

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

Aditya P. Mathur
Fundamentals of Computer Programming and IT by Pearson

Fundamentals of Computer Programming and IT by Pearson

Ashok Namdev Kamthane, Rohit Khurana

Publisher Resources

ISBN: 9788131707951