SKAYBASETest ManagementBack to overview

Equivalence partitioning with valid and invalid examples

Equivalence partitioning divides an input or condition into classes expected to be handled the same way. Choose at least one representative from each relevant valid and invalid class.

Skaybase

Model the rule before picking values

A voucher field may accept a currently valid voucher and reject expired, unknown or already used ones. Each invalid class can produce a different message or state transition. Treat those distinctions as testable behavior.

Choose one simple representative per class first. Add combinations when the outcome depends on another condition, such as account status.

Worked example with account state

Valid voucher + eligible test account → apply once.
Expired voucher → reject with expiry message.
Unknown voucher → reject and keep total.
Already used voucher → follow the business rule for reuse.

Use boundary cases alongside partitions

A partition for valid dates can include many dates. Boundary value analysis then focuses on the period immediately before, at and after expiry. Check the timezone first.

Record the class in the testcase description so a future reviewer can see why the data was chosen. Add a new class when the requirement introduces a different response.

References

Related guides

See how Bug Capture works