Table of Contents

Class Failure

Namespace
Hegel
Assembly
Hegel.dll

One distinct failure a run found, with the minimal test case that shows it.

public sealed class Failure
Inheritance
Failure
Inherited Members

Properties

Caveat

The engine's warning about this failure (for example that the test is nondeterministic).

public string? Caveat { get; }

Property Value

string

Draws

The minimal test case's draws, by name, in order.

public IReadOnlyDictionary<string, object?> Draws { get; }

Property Value

IReadOnlyDictionary<string, object>

Exception

The exception the minimal test case threw.

public Exception Exception { get; }

Property Value

Exception

Nondeterministic

Whether the engine flagged this failure as nondeterministic.

public bool Nondeterministic { get; }

Property Value

bool

Origin

What distinguishes this failure from the others: the exception type and where it was thrown.

public string Origin { get; }

Property Value

string

Output

The minimal test case's printed output, line by line; empty in a quiet run.

public IReadOnlyList<string> Output { get; }

Property Value

IReadOnlyList<string>

ReproduceBlob

The blob that replays this failure through ReproduceFailure, when the engine has one.

public string? ReproduceBlob { get; }

Property Value

string