Boundary partitions
Each configured limit produces focused neighboring values so reviewers can see what should pass and fail.
Day 061 / Testing / Software Quality
A dependency-free Python CLI that generates deterministic just-below, at, and just-above cases for declared numeric and string boundaries.
Each configured limit produces focused neighboring values so reviewers can see what should pass and fail.
Fields and boundaries retain their source order, while exact Decimal stepping avoids floating-point drift during generation.
Duplicate keys, duplicate names, unknown options, incompatible constraints and oversized inputs stop with a clear validation error.
Just-below, at and just-above cases
Integer, decimal and string boundaries
Deterministic JSON reports
Expected-valid classifications
Bounded defensive input
Argparse, dataclasses, Decimal, JSON and unittest keep the command portable and dependency-free.
A small JSON contract separates boundary policy from the generated cases and their expected outcomes.
Tests cover numeric and string edges, custom steps, stable ordering, duplicate data, invalid ranges, minimized reports and CLI output.