Skip to content

RegressionFailed ​

Rasuvaeff\PropertyTesting\Runner\RegressionFailed

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

Implements: Runner\PropertyResult

A recorded regression (a values corpus entry) failed again on replay. The input was already minimal when recorded, so it is reported verbatim.

Constructor ​

php
__construct(
    RegressionViolationException $exception,
)
ParameterTypeDefaultDescription
$exceptionRegressionViolationExceptionrequired

Methods ​

failure() ​

php
failure(): Throwable

The engine exception describing the failure — the same type and message the package has always reported (PropertyViolationException for a falsification, and so on). Null for a pass.

Documentation inherited from Runner\PropertyResult.