Interface: RunDetailsFailurePluginSetup<Ts>
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:30
Run reported as failed because a plugin hook, such as beforeAll,
threw or rejected before any execution of the predicate.
The predicate was not executed and no counterexample is available.
Refer to RunDetailsCommon for more details
Remarks
Since 5.0.0
Extends
RunDetailsCommon<Ts>
Type Parameters
| Type Parameter |
|---|
Ts |
Properties
counterexample
counterexample:
null
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:33
In case of failure: the counterexample contains the minimal failing case (first failure after shrinking)
Remarks
Since 0.0.1
Overrides
RunDetailsCommon.counterexample
counterexamplePath
counterexamplePath:
null
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:34
In case of failure: path to the counterexample
For replay purposes, it can be forced in assert, sample and statistics using Parameters
Remarks
Since 1.0.0
Overrides
RunDetailsCommon.counterexamplePath
errorInstance
errorInstance:
unknown
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:35
In case of failure: it contains the error that has been thrown if any
Remarks
Since 3.0.0
Overrides
RunDetailsCommon.errorInstance
executionSummary
executionSummary:
ExecutionTree<Ts>[]
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:179
Execution summary of the run
Traces the origin of each value encountered during the test and its execution status. Can help to diagnose shrinking issues.
You must enable verbose with at least Verbosity.Verbose in Parameters
in order to have values in it:
- Verbose: Only failures
- VeryVerbose: Failures, Successes and Skipped
Remarks
Since 1.9.0
Inherited from
RunDetailsCommon.executionSummary
failed
failed:
true
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:31
Did the run fail during the execution of assert? This includes plugin setup failures occuring before any execution of the predicate.
Remarks
Since 0.0.1
Overrides
failures
failures:
Ts[]
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:165
List all failures that have occurred during the run
You must enable verbose with at least Verbosity.Verbose in Parameters
in order to have values in it
Remarks
Since 1.1.0
Inherited from
interrupted
interrupted:
false
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:32
Was the assessment of the predicate interrupted? Plugin setup failures do not count as interruptions as they occur even before the assessment starts.
Remarks
Since 1.19.0
Overrides
numRuns
numRuns:
0
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:36
Number of runs
- In case of failed property: Number of runs up to the first failure (including the failure run)
- Otherwise: Number of successful executions
Remarks
Since 1.0.0
Overrides
numShrinks
numShrinks:
0
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:38
Number of shrinks required to get to the minimal failing case (aka counterexample)
Remarks
Since 1.0.0
Overrides
numSkips
numSkips:
0
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:37
Number of skipped entries due to failed pre-condition
As numRuns it only takes into account the skipped values that occured before the first failure.
Refer to pre to add such pre-conditions.
Remarks
Since 1.3.0
Overrides
runConfiguration
runConfiguration:
Parameters<Ts>
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:193
Configuration of the run
It includes both local parameters set on assert and global ones specified using configureGlobal
Remarks
Since 1.25.0
Inherited from
RunDetailsCommon.runConfiguration
seed
seed:
number
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:138
Seed that have been used by the run
It can be forced in assert, sample and statistics using Parameters
Remarks
Since 0.0.1
Inherited from
verbose
verbose:
VerbosityLevel
Defined in: packages/fast-check/src/check/runner/reporter/RunDetails.ts:184
Verbosity level required by the user
Remarks
Since 1.9.0