Boundary value analysis with a test data generator
Boundary value analysis focuses on values at the edges of a partition and their nearest neighbors. For an inclusive integer range, generate cases just below, at and just above both endpoints.
Skaybase
Define the rule and the data type
For an allowed order quantity of 1–10, positive integers from 1 through 10 form a valid partition. Outside it, check invalid partitions below and above the range. Check data validation separately for missing, fractional or nonnumeric input.
Choose the smallest meaningful unit. A count changes in whole units. Currency with a fixed cents rule may use increments of 0.01.
Example cases for inclusive quantity
A test case should explain how rejection is observed, for example a validation message and no order recorded. Test each rule in context when other constraints apply.
0 → rejected
1 → accepted
2 → accepted
9 → accepted
10 → accepted
11 → rejectedUse fewer cases where boundaries overlap
For a range from 3 to 4, several neighbors are the same number. Deduplicate the list and keep the expected result for each value.
When a domain or currency rule is ambiguous, mark the expected result as unresolved. Testing a guessed rule can turn a good bug report into a disagreement about requirements.
References
Related guides
- Manual test case template for Excel and Google Sheets
- Equivalence partitioning with valid and invalid examples