Concept and mechanism
Data-test design starts by dividing the input space according to relevant rules. For authorization requiring an integer amount in cents x greater than 250000, the boundary is open: in domain-testing terminology, ON is 250001, the nearest representable point inside the region, and OFF is 250000, the excluded boundary itself.
For x greater than or equal to 250000, the boundary is closed: ON is 250000 and OFF is 249999. Precision belongs to the model; without the smallest unit, nearest may be undefined. When two conditions delimit the region, vary one boundary while keeping the other condition satisfied so the test has a clear interpretation.
Guided application
In a service with channel, currency, and customer type, testing each value once does not ensure that relevant interactions were exercised. A pairwise selection covers value pairs while respecting feasible-combination constraints. It may miss a failure requiring all three factors together.
Choose interaction strength according to risk and add combinations known to be critical. Random generation also needs a domain and an oracle. A generator configured only for positive amounts will never investigate rejection of negative values.
With tools such as Hypothesis, choosing a domain does not mean distribution is uniform or resembles real traffic. Retain counterexamples and add directed cases for important boundaries.
Exercise: isolate boundaries and three-way interaction risks
Build a model with three factors: channel (web or API), currency (EUR, USD or GBP) and profile (personal or business). With no constraints, the Cartesian product contains 2×3×2=12 complete combinations. A pairwise selection may cover every pair but omit a specific three-value interaction that triggers a defect; pair coverage is not triple coverage.
Record real constraints before generating tests: if one channel supports EUR only, USD and GBP with that channel are not valid business flows, although they may become separate rejection tests. For amount>250000 integer cents, use 250000 as OFF and 250001 as ON while keeping age valid to isolate the amount boundary.
After changing the rule to amount≥250000, ON becomes 250000 and OFF becomes 249999. Document an independent oracle for each case, not just inputs. After execution compare covered cases with residual risks and add the most consequential triples without claiming exhaustive coverage.
For integer cents x>250000: ON 250001, OFF 250000.
Common pitfalls
Omitted precision; pairs treated as exhaustive; domain without invalid inputs.
Related topics: Analysis and evidence in the test process · Priority and residual risk · States, CRUD, and journeys
Define partitions, boundaries, and interactions before generating data.
References
- NIST combinatorial testing FAQ · Public FAQ inspected 2026-10-01; t-way coverage, interaction strength and limitations
- ISTQB CTAL-TA syllabus · v4.0 GA;77-page linked edition with footer2025/05/02;public objectives inspected
- NIST ACTS project · Public combinatorial testing project inspected 2026-10-01
- Hypothesis domain and distribution · 6.168.3 documentation inspected 2026-10-01; chosen domain differs from generation distribution