QuestionQ2

Test Analysis and Test Design

Tax system –

A tax system must be updated because of new legislation. For a married person with a salary of less than 20.000, the tax must be recalculated. If the person also has more than two and fewer than five children, an additional 10% reduction applies.

When applying equivalence partitioning to the "Tax System" specification, which of the following sets of equivalence classes is most effective for testing the processing of the number of children?

Explanation

The child-count partitions are 0–2, 3–4, and 5 or more. Values 2, 4, and 5 represent all three partitions and are positioned at the relevant limits of the reduction rule, helping expose errors in the greater-than-two and less-than-five comparisons. Equivalence partitioning uses a representative from each partition, while boundary-focused values are especially useful where behavior changes.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!