Skip to content

GaveUp ​

Rasuvaeff\PropertyTesting\Runner\GaveUp

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

Implements: Runner\PropertyResult

Discarded inputs — or runs the environment refused — exceeded their budget before the requested checks completed. GaveUpException::$exhaustedBySkips says which of the two ran out.

Constructor ​

php
__construct(
    GaveUpException $exception,
    Runner\RunStatistics $statistics,
)
ParameterTypeDefaultDescription
$exceptionGaveUpExceptionrequired
$statisticsRunner\RunStatisticsrequired

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.