Skip to content

TimeBudgetExceeded

Rasuvaeff\PropertyTesting\Runner\TimeBudgetExceeded

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

Implements: Runner\PropertyResult

The whole random phase overran its wall-clock budget before the requested checks completed.

Constructor

php
__construct(
    TimeBudgetExceededException $exception,
    Runner\RunStatistics $statistics,
)
ParameterTypeDefaultDescription
$exceptionTimeBudgetExceededExceptionrequired
$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.