Table of Contents

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

string

ErrorKind

Why the run stopped early.

public RunErrorKind? ErrorKind { get; }

Property Value

RunErrorKind?

FailedHealthCheck

The health check that failed, when one did.

public HealthCheck? FailedHealthCheck { get; }

Property Value

HealthCheck?

Failures

The distinct failures found, each with its minimal test case.

public IReadOnlyList<Failure> Failures { get; }

Property Value

IReadOnlyList<Failure>

HealthCheckFailed

Whether the run stopped because a health check failed.

public bool HealthCheckFailed { get; }

Property Value

bool

Passed

Whether no test case failed.

public bool Passed { get; }

Property Value

bool

Statistics

How many test cases ran, by outcome.

public RunStatistics Statistics { get; }

Property Value

RunStatistics

Status

How the run ended.

public RunStatus Status { get; }

Property Value

RunStatus

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()