ExampleFailed
Rasuvaeff\PropertyTesting\Runner\ExampleFailed
Class — Package: property-testing-core — Source — Version: v0.1.0-12-g86ead85
Implements: Runner\PropertyResult
An explicit example failed before the random phase. Examples are already minimal, so the input is reported verbatim, without shrinking.
Constructor
php
__construct(
ExampleViolationException $exception,
)| Parameter | Type | Default | Description |
|---|---|---|---|
$exception | ExampleViolationException | required |
Methods
failure()
php
failure(): ThrowableThe 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.