EquivalencePartition
- 4. “Equivalence partitioning/
Equivalence Class Partitioning is a software
testing technique that divides the input data
of a software unit
into partitions of equivalent data from which
test cases can be derived. In which, test
cases are designed to cover each partition at
least once.
- 5. Literally
▧ It is a Software test design technique similar
to Boundary Value Analysis
▧ It is a black box technique*
▧ It can be applied to all levels of testing like
unit, integration, system, etc.
- 6. Advantages
1. Saves time in testing.
2. Allows to fin more defects tha inputing random values to
your code
3. It can be used in bot white box and black box testing
- 7. Equivalence
Partition
It is a Black Box Testing
Technique that divides the
input domain into classes of
data from which test cases
can be derived.
Diffefence between Equivalence Partition and
Boundary Value Analysis
Boundary Value
Analysis
This is also a Black Box
Testing Technique which
concentrates on the
Corner cases or the
boundaries of the input
domain rather than its
center.
- 8. Equivalence
Partition
If we want to test a field which
accepts values from 1 to 9, we
will write test cases with the
following test data.
1. Test case with test data less
than 1
2. Test case with test data
greater than 9
3. Test case with test data
between 1 and 9
Diffefence between Equivalence Partition and
Boundary Value Analysis
Boundary Value
Analysis
If we want to test a field from
1 to 9 boundary values will be
0,1,2,and 8,9,10
The left hand value is called
the lower boundary i.e 1 here
in this example and the Right
side value 9 is called the
Upper boundary and hence
the selection of values is
a. Upper boundaries +1,-1
b. Lower boundaries +1,-1
- 12. 1. The range is divided.
2. The system picks one value from
Invalid table and rejects it.
3. The system picks another value
from Valid table and accept it.
4. The system picks a new value from
invalid table and rejects it.
5. If one data is rejected the lot is
rejected.
- 16. Credits
Special thanks to
▧ Presentation template by SlidesCarnival
▧ www.guru99.com
▧ www.youtube.com/user/SoftwareTestingSp
ace
▧ Mr Mohan Maharjan