Repository navigation
v2.3.0
Generator catalog, explicit examples and seed persistence (Waves 5–6, excluding
in-body draw). Additive, no BC breaks; existing seed sequences are unchanged.
- Add domain arbitraries:
Gen::ipv4(),Gen::email(),Gen::url(),
Gen::json()/Gen::jsonString(), andGen::regex()/
Gen::stringMatching().regexcompiles a regular-expression subset
(literals,., classes[...],\d\w\sand negations, quantifiers
* + ? {n} {n,} {n,m}, alternation, groups) into ordinary combinators, so
matches shrink through the existing trees. Unsupported constructs (anchors
other than a single leading^/trailing$, backreferences, lookaround,
named/inline groups, flags) throw, naming the construct. - Add explicit examples:
#[Property(examples: 'method')]or a
<testMethod>Examplesconvention method returns fixed positional argument
tuples, each run before the random inputs and not shrunk. A failing example is
reported viaExampleViolationException. - Add opt-in regression replay: when
PROPERTY_DBnames a directory, a
falsified property records its failing seed and re-runs it first on the next
run (unless the attribute pins a seed). Only the seed is stored. - In-body draw (
Gen::draw(), roadmap T2.5) is deferred to 2.4.0: it needs a
replay-tape shrink mechanism that the per-arbitrary tree model lacks.