CheckFailure<'Args, 'Actual, 'Expected> Type
Structured information describing a failing property-style test case.
Record fields
| Record Field |
Description
|
Full Usage:
Actual
Field type: string
|
The rendered actual/tested side shown in failure output.
|
Full Usage:
ActualValueDisplay
Field type: string option
|
The raw rendered actual value, when Testify can provide one separately.
|
Full Usage:
Because
Field type: string option
|
An optional explanation describing why the values or observations differ.
|
Full Usage:
Description
Field type: string
|
The human-readable expectation description recorded for the failure.
|
|
Optional structured nested details used by rich renderers.
|
Full Usage:
Expected
Field type: string
|
The rendered expected/reference side shown in failure output.
|
Full Usage:
ExpectedValueDisplay
Field type: string option
|
The raw rendered expected value, when Testify can provide one separately.
|
Full Usage:
Label
Field type: string
|
The stable expectation label recorded for the failure.
|
Full Usage:
NumberOfShrinks
Field type: int option
|
The number of shrinking steps applied to reach the final counterexample.
|
Full Usage:
NumberOfTests
Field type: int option
|
The number of generated tests executed before the failure was reported.
|
The original unshrunk failing case before FsCheck shrinking.
|
|
Full Usage:
Replay
Field type: string option
|
The replay token that can often be turned back into an FsCheck replay configuration.
|
The final shrunk failing case, when shrinking found a smaller counterexample.
|
|
|
The most relevant source location that Testify could recover for the failing check.
|
Full Usage:
Test
Field type: string
|
The rendered failing test expression or shrunk property case.
|
Instance members
| Instance member |
Description
|
Full Usage:
this.TryGetReplayConfig
Returns: Config option
Some replay-enabled config when the failing result carried a replay token that Testify could
parse; otherwise None.
|
Attempts to reconstruct an FsCheck replay configuration for the failing run from the stored replay token.
|
testify