... is more than
the cost of initially anticipating and coding the requirement. Finally,
182 The Art of Software Testing
03.qxd 4/29/04 4:37 PM Page 182
Extreme Testing 181
continuous testing principle ... identifying a testing approach. In
this instance we will use boundary analysis to validate the inputs
186 The Art of Software Testing
03.qxd 4/29/04 4:37 P...
... expression in the program were
60 The Art of Software Testing
01.qxd 4/29/04 4:32 PM Page 60
instance, perhaps the MTEST program of the previous section fails if
the product of the number of questions ... titles. The next input conditions are the presence of correct-
answer records and the number -of- questions field on the first answer
62 The Art of...
... advantages of top-down testing become the
disadvantages of bottom-up testing, and the disadvantages of top-
down testing become the advantages of bottom-up testing. Because
of this, the discussion of ... management system, or
124 The Art of Software Testing
Figure 6.1
The software development process.
02.qxd 4/29/04 4:36 PM Page 124
it to the output...
... So, the purpose of this updated edition of The Art of Software Test-
ing is the same as it was in 1979: to fill these knowledge gaps for the
professional programmer and the student of computer ... itself. Therefore, we will start our discussion of soft-
ware testing with these issues before we delve into the more techni-
cal nature of the topic.
The Psychol...
... outcomes, but they cover only two of the four
decision outcomes (both of them cover path abe and, hence, do not
exercise the true outcome of the first decision and the false outcome
of the second decision).
The ... toward the program rather than the
programmer. In other words, errors are not viewed as weaknesses in
the person who committed them. Rather, they are vi...
... you are testing a sorting subroutine, the fol-
lowing are situations to explore:
88 The Art of Software Testing
01.qxd 4/29/04 4:33 PM Page 88
outcomes of each condition in the decisions. The conditions ... way
of managing the combined elements of testing, since attention is
focused initially on smaller units of the program. Second, module
testing eases t...
... produced at the exact point of the
error, so it doesn’t show the program’s state at the point of
the error. Program actions between the time of the dump and
the time of the error can mask the clues ... processing
time—which is frequently the case if the software is accessing
a remote system—then a message should be displayed
informing the user of what is...
... inputs as well as
testing for invalid primes. The second part of the check is not needed
because test case 2 handles this scenario. However, it is included by
188 The Art of Software Testing
JUnit ... testing is very labor intensive.
However, just as you can segment the testing of an Internet applica-
tion into discrete entities, you can do the same when testin...
... undiscovered
error.
20 The Art of Software Testing
Figure 2.2
The Surprising Errors Remaining/Errors Found
Relationship.
01.qxd 4/29/04 4:32 PM Page 20
The Art of
Software
Testing
Second Edition
Glenford ... on these sections during the
computer-based testing processes (one of the testing principles of
Chapter 2).
26 The Art of Software Testing...