Skip to content

CorpusEntry

Rasuvaeff\PropertyTesting\Runner\CorpusEntry

ClassPackage: property-testing-coreSourceVersion: v0.1.0-12-g86ead85

One recorded regression in a property's corpus: either the minimised failing input itself (a "values" entry — replayed as a single run, immune to changes in the generation sequence) or the seed of the run that failed (a "seed" entry — the fallback for inputs no Internal\ValueCodec can represent, replayed by re-running the whole random phase).

Constructor

php
__construct(
    ?array<string,mixed> $arguments,
    int $seed,
)
ParameterTypeDefaultDescription
$arguments?array<string,mixed>requiredMinimised input keyed by parameter name; null for a seed entry.
$seedintrequired

Methods

values()

php
static values(array<string,mixed> $arguments, int $seed): self

seed()

php
static seed(int $seed): self

isValues()

php
isValues(): bool