Which test inputs (in grams) would be selected using equivalence partitioning?
Postal rates for 'light letters' are 25p up to 10g, 35p up to 50g plus an extra 10p for each additional 25g up to 100g.
The correct answer to this question is 4, 15, 65, 92, 159. Equivalence partitioning is a technique that is used in software testing. It divides a software unit's data input into equivalent partitions of data. This data is then used for test cases.
These tests cases help identify errors and in the long run, reducing the number of tests cases that need to be developed in the future. Equivalence partitioning comes from equivalence class and equivalence relation. Despite its effectiveness, it is not used alone to establish tests cases. Equivalence partitioning is used along with boundary value analysis.