#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
🧱 FREE · VALID & INVALID CLASSES

Equivalence Partitioning Tool: One Test per Class, Nothing Missed

Describe a field and get its valid and invalid partitions with a sample value for each.

  • 🔢 Ranges, lengths, lists
  • ❌ Invalid classes included
  • 🧪 Example value each

How to use the Equivalence Partitioning Tool

  1. 1. Describe the fieldPick number range, text length or a fixed list of values.
  2. 2. Set the rulesEnter min and max, or the allowed values, and whether it is required.
  3. 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.

More free tools

See all free tools