volume_mute

Why Programs Behave Similarly Within a Partition

publish date2026/06/17 05:49:39.505597 UTC

volume_mute

Why is it valid to test just one or a few values from an equivalence partition rather than every possible value in the partition?

Correct Answer

Because programs normally behave in a comparable way for all members of an equivalence partition

Explanation

Programs normally behave in a comparable way for all members of an equivalence partition. For example, a program requiring two positive numbers would behave the same way for any pair of positive numbers. This means that if one test case from a partition reveals a defect, other members of the partition would likely reveal the same defect.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears