1. What is an equivalence partition (also known as an equivalence class)? a) A set of test cases for testing classes of objects. b) An input or output range of values such that only one value in the range becomes a test case. c) An input or output range of values such that each value in the range becomes a test case. d) An input or output range of values such that every tenth value in the range becomes a test case. 2. One of the fields on a form contains a text box that accepts numeric values in the Read More

## Equivalence Partitioning Tutorial

Definition of Equivalence Partitioning Equivalence Partitioning is a black-box testing technique (basic test-design technique) that splits the input domain into classes of data. From this data, we can derive test cases. Test-case design with the help of equivalence partitioning technique has two steps: 1) Identifying the equivalence classes. 2) Defining the test cases. Example 1 of Equivalence Partitioning Problem:- The program reads three integer values from an input dialog. The three values represent the lengths of the sides of a triangle. The program displays a message that states whether the triangle is scalene, isosceles, or equilateral. Remember that a scalene Read More

## Equivalence Partitioning

Equivalence partitioning(EP) is a specification-based or black-box technique. It can be applied at any level of testing and is often a good technique to use first. The idea behind this technique is to divide (i.e. to partition) a set of test conditions into groups or sets that can be considered the same (i.e. the system should handle them equivalently), hence ‘equivalence partitioning. Equivalence Partitions are also known as equivalence classes – the two terms mean exactly the same thing. In the equivalence-partitioning technique, we need to test only one condition from each partition. This is because we are assuming that all Read More