How to use the Equivalence Partitioning Tool
- 1. Describe the fieldPick number range, text length or a fixed list of values.
- 2. Set the rulesEnter min and max, or the allowed values, and whether it is required.
- 3. Copy the classesTest one value from each partition.
The idea
Equivalence partitioning splits all possible inputs into groups the system should treat the same way. If one value from a group works, the others should too, so you test one representative per group instead of hundreds of values.
Worked example (defaults): a Marks field accepts whole numbers 0 to 100 and is required. The tool gives one valid class (0 to 100, test 50) and five invalid ones: below 0 (test -10), above 100 (test 110), not a number (abc), a decimal such as 50.5, and blank. That is six tests covering every kind of input the field can receive.
Pair it with boundary values
- Partitions pick a typical value from the middle of each class.
- Boundary values then test the edges: -1, 0, 100 and 101 here.
- Text fields have length classes: too short, valid, too long.
- Lists such as payment methods have one valid class per value plus "not in list" and case or spacing variants.
Look for hidden partitions in the requirement: different prices for children and adults, or weekday vs weekend rules, each make their own valid class. Example values here are suggestions; adjust them to your field. Get the edge values with the boundary value analysis calculator, then record the tests with the test case template generator.
Frequently asked questions
How is this different from boundary value analysis?
Partitioning picks one typical value per group. BVA tests the edges between groups. Use both together.
Should I test every invalid class separately?
Yes. Combining several invalid inputs in one test can hide which one caused the error.
Is the Equivalence Partitioning Tool free?
Yes, the Equivalence Partitioning Tool is free. The first time you see your first result, you are asked for your name and WhatsApp number once. After that, this and every other Uncodemy tool opens straight away without the form.