Skip to content

RunFailed

Rasuvaeff\PropertyTesting\Event\RunFailed

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

Implements: Event\PropertyEvent

A random-phase attempt falsified the property; shrinking follows.

Constructor

php
__construct(
    string $propertyId,
    int $attempt,
    array<string,mixed> $arguments,
    array<string,mixed> $draws,
    ?Throwable $failure,
    int $elapsedNs,
)
ParameterTypeDefaultDescription
$propertyIdstringrequired
$attemptintrequired
$argumentsarray<string,mixed>requiredGenerated inputs, keyed by parameter name.
$drawsarray<string,mixed>requiredIn-body draws as draw#N pseudo-arguments.
$failure?Throwablerequired
$elapsedNsintrequired