volume_mute

Deriving Test Cases from Partitions

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

volume_mute

For the specification accepting 4 to 8 inputs of 5-digit integers greater than 10,000, which set of test inputs best represents good partition testing practice, including boundary values?

Correct Answer

3 inputs of 9,999, 4 inputs of 10,000, 7 inputs of 50,000, 8 inputs of 99,999, 9 inputs of 100,000

Explanation

Good partition testing combines boundary values (3 inputs=below minimum, 4 inputs=minimum, 8 inputs=maximum, 9 inputs=above maximum) with mid-partition values (7 inputs in the middle of the valid count range; 9,999 at the boundary of the invalid value range, 10,000 at valid boundary, 50,000 near the midpoint, 99,999 at valid upper boundary, 100,000 at the invalid boundary).

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears