# What is equivalence partitioning?

> Equivalence partitioning groups inputs that should produce the same behaviour. Use a delivery fee to choose examples from accepted and rejected groups.

Source: https://cueapril.com/knowledge/definitions/equivalence-partitioning
Updated: 2026-12-02
Index: https://cueapril.com/llms.txt

## What is equivalence partitioning in software testing?

Equivalence partitioning groups inputs that a rule should treat alike. A tester picks a representative from each group, including groups that should be rejected, and checks the expected outcome. The groups make it easier to see which behaviours a small set of tests actually covers.

## What makes two inputs equivalent?

Start with the decision the product makes. Two values belong together when the same rule and expected behaviour apply to both. A different price, status, message or side effect can justify another group. An omitted value can have its own meaning even where an empty value is invalid.

## Worked example: A delivery fee with three outcomes

A shop rejects negative basket totals, charges delivery below £40 and offers free delivery from £40. The totals −£1, £25 and £60 exercise all three outcomes. To check that the threshold falls on exactly the right penny, add £39.99 and £40.00.

## Try it on your pull request

Choose a change in your repository and tell Cue April what should happen. Review the proposed checks before they run.

[Try Cue April on your repository](https://app.cueapril.com/sign-up/?next=%2Fquality-start)

## Related reading

- [Boundary value analysis](https://cueapril.com/knowledge/definitions/boundary-value-analysis)

- [Decision table](https://cueapril.com/knowledge/definitions/decision-table)

- [How to design boundary value tests](https://cueapril.com/knowledge/how-to/design-boundary-value-tests)

[Browse the Knowledge base](https://cueapril.com/knowledge)
