Professional Documents
Culture Documents
F20 ST Lec13 14equivalance Class Boundary Value Testing
F20 ST Lec13 14equivalance Class Boundary Value Testing
Equivalence Class
Partitioning
Typical Saudi breakfast – how would
you test it yaaa habibeeeee????
Anequivalence class consistsof a set of
data that is treated the same by the
module or that should produce the same
result.
Equivalence Partitions Must Be Disjoint
No two of the subsets can have one or more
members in common
Repeating members
8
To define equivalence classes follow the guideline
24
Exercises
1. In an examination a candidate has to score
minimum of 24 marks in order to clear the
exam. The maximum that he can score is 40
marks. Identify Valid equivalence values if
the student clears the exam.
25
Exercises
1. One of the fields on a form contains a text
box which accepts numeric values in the
range of 18 to 25. Define the equivalence
classes.
26
Exercises
27
Exercises
28
Boundary Value Analysis
Chapter 4
Book 2
Rules for hiring
0–16 Don't hire
16–18Can hire on a part-time basis only
18–55Can hire as a full-time employee
55–99Don't hire
Boundary values ??
What about the values that are not
specified in requirements? ?
-3
101
Abc ??
You could, of course, create additional test
cases farther from the boundaries (within
equivalence classes) if you have the resources.