Class RunReport
- Namespace
- Hegel
- Assembly
- Hegel.dll
What a run found: its status, statistics, failures and any error that stopped it.
public sealed class RunReport
- Inheritance
-
RunReport
- Inherited Members
Properties
Error
The engine's message when the run stopped early.
public string? Error { get; }
Property Value
ErrorKind
Why the run stopped early.
public RunErrorKind? ErrorKind { get; }
Property Value
FailedHealthCheck
The health check that failed, when one did.
public HealthCheck? FailedHealthCheck { get; }
Property Value
Failures
The distinct failures found, each with its minimal test case.
public IReadOnlyList<Failure> Failures { get; }
Property Value
HealthCheckFailed
Whether the run stopped because a health check failed.
public bool HealthCheckFailed { get; }
Property Value
Passed
Whether no test case failed.
public bool Passed { get; }
Property Value
Statistics
How many test cases ran, by outcome.
public RunStatistics Statistics { get; }
Property Value
Status
How the run ended.
public RunStatus Status { get; }
Property Value
Methods
ThrowIfFailed()
Throw unless the run passed: a single failure's own exception, with its stack; MultipleFailuresException for several; a HegelRunException for a run that stopped early.
public void ThrowIfFailed()