Skip to content

RunFailed ​

Rasuvaeff\PropertyTesting\Event\RunFailed

Class — Package: property-testing-core — Source — Version: v1.0.0-1-g88fdee2

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