Class HealthCheckFailure
- Namespace
- Hegel
- Assembly
- Hegel.dll
Thrown when the engine aborts a run because a HealthCheck fired: the test itself is misbehaving (rejecting almost every input, or generating data that is too large or too slow) rather than the property being false. If the behaviour is intentional, disable the offending check with SuppressHealthCheck.
public sealed class HealthCheckFailure : HegelRunException, ISerializable
- Inheritance
-
HealthCheckFailure
- Implements
- Inherited Members
Properties
HealthCheck
The health check that failed, or null if the engine named one this version of Hegel does not know.
public HealthCheck? HealthCheck { get; }