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 from Requirements
number of tests can be reduced significantly if the GUI prevents invalid
inputs from getting into the application under test.
Note that the tests derived in the boiler example make the assump-
tion that the GUI has been correctly implemented and does prohibit
incorrect values from entering the control software.
2.4 BOUNDARY-VALUE ANALYSIS
Experience indicates that programmers make mistakes in processing
values at and near the boundaries of equivalence classes. For example,
suppose that method M is required to compute a function f
1
when the
condition x 0 is satisfied by input x and function f
2
otherwise. How-
ever, M has an error due to which it computes f
1
for x < 0 and f
2
other-
wise. Obviously, this fault is revealed,
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