How to use Boundary Value Analysis
- Define the partitions as fields with min= and max= limits.
- Select 2-value or 3-value BVA.
- Analyze to get the worksheet, the summary counts and the test cases.
Boundary Value Analysis features
- Worksheet combining equivalence classes with every boundary per field
- 2-value or 3-value BVA following the ISTQB definitions
- Expected pass/fail per boundary and numbered test cases
- Handles integers, decimals, string lengths, list sizes, file sizes and date ranges
- Export as Markdown, JSON, CSV or Gherkin
Boundary Value Analysis example
Worksheet for a quantity field
Input:
quantity: integer, min=1, max=10Output:
quantity Below minimum (min − 1) 0 Fail (rejected)
quantity Minimum (min) 1 Pass (accepted)
quantity Just above minimum 2 Pass (accepted)
quantity Nominal (mid-range) 6 Pass (accepted)
quantity Just below maximum 9 Pass (accepted)
quantity Maximum (max) 10 Pass (accepted)
quantity Above maximum (max + 1) 11 Fail (rejected)Frequently asked questions about Boundary Value Analysis
2-value or 3-value BVA — which should I use?
2-value BVA (ISTQB default) tests each boundary and its nearest invalid neighbour. 3-value BVA adds the valid neighbour on the inside and catches more off-by-one mistakes; choose it for high-risk inputs.
What does the worksheet show?
For each field: the valid and invalid equivalence classes, every boundary, the exact test value and whether it should pass or fail, plus a numbered test case per boundary.
Are open ranges handled?
A field with only min or only max gets boundaries on that side; a field with neither gets zero, negative, large and beyond-safe-integer probes.
Can I export the worksheet?
Yes — the worksheet table downloads as CSV, and the test cases export as Markdown, JSON, CSV or Gherkin.