Equivalence Class Partitioning Equivalence partitioning is a method to derive positive and negative test cases. Classes of input conditions called ‘Equivalence Classes’ are identified such that each member of the class causes the same kind of processing and output to occur.
When to use the technique: When we generate test cases for primary flows and field level validations we use this technique. We will identify the set of cases that generate similar output and for the range of inputs. We will have separate test case for positive and negative validations
Guidelines for selecting EQUIVALENCE CLASSES
1. If the input is a range -> One valid and two invalid equivalence classes
2. If the input is a specific value - > One valid and two invalid equivalence classes
3. If the input is a set of related values -> One valid and one invalid class
4. If the input is a Boolean -> one valid and one invalid class