Equivalence partitioning is a technique in
which the input data are divided into distinct
partitions , where the behavior or outcome
of product within each member of the
partition is same
Then one sample from each partition is
picked up for testing
The set of input values that generate one
single expected output is called a partition
when behavior of the software is the same
for a set of values, then the set is termed as
equivalence class or partition
Assume that there is a function of a software
application that accepts a particular number
of digits, not greater and less than that
particular number.
For example, an OTP number which contains
only six digits, less or more than six digits
will not be accepted, and the application will
redirect the user to the error page.
Choose criteria for doing the equivalence
partitioning(range,list of values ,..etc)
Identify the valid equivalence classes based
on the above criteria
Select a sample data from that partition
Write the expected result based on
requirements given
Identify the special values, if any ,and
include them in the table
Check to have expected results for all the
cases prepared