How to use Boundary Number Dataset Generator
- Choose integer widths, a custom range or string lengths.
- Adjust the widths, bounds or lengths.
- Press Generate and use the expected column in your assertions.
Boundary Number Dataset Generator features
- Signed and unsigned 8/16/32/64-bit boundaries: min−1, min, min+1, 0, 1, max−1, max, max+1
- JavaScript 2^53 safe-integer boundary for 64-bit
- Custom numeric ranges with decimals and a step
- String-length boundaries including multibyte and astral characters
- Every row labelled valid/invalid with a note
- JSON, CSV, SQL, XML, JSON Lines or table output
Boundary Number Dataset Generator example
INT32 boundaries
Input:
Boundaries for: Integer widths · Widths: 32 · SignedOutput:
case,value,expected
INT32_MIN − 1,-2147483649,invalid
INT32_MIN,-2147483648,valid
INT32_MAX,2147483647,valid
INT32_MAX + 1,2147483648,invalidFrequently asked questions about Boundary Number Dataset Generator
What is boundary value analysis?
A test-design technique that checks the values right at and around a limit — min−1, min, min+1, max−1, max, max+1 — where off-by-one bugs live.
Which integer widths are covered?
Signed and unsigned 8, 16, 32 and 64-bit, plus JavaScript's 2^53 safe-integer boundary. 64-bit values are strings so they stay exact.
Can I use my own range or string lengths?
Yes. Custom mode takes any numeric range with optional decimals; length mode produces strings at min/max length ± 1 including multibyte and astral-character variants.