Class TestScenarioDiagnostics

Namespace
XBullet.EasyTesting.Hosting
Assembly
XBullet.EasyTesting.dll

Diagnostics captured from a failed test scenario before its state is cleaned up.

public sealed record TestScenarioDiagnostics : IEquatable<TestScenarioDiagnostics>
Inheritance
TestScenarioDiagnostics
Implements
Inherited Members

Constructors

TestScenarioDiagnostics(string, DateTimeOffset, IReadOnlyDictionary<string, object?>)

Diagnostics captured from a failed test scenario before its state is cleaned up.

public TestScenarioDiagnostics(string ScenarioId, DateTimeOffset CapturedAt, IReadOnlyDictionary<string, object?> Resources)

Parameters

ScenarioId string

The stable identifier of the failed scenario.

CapturedAt DateTimeOffset

The UTC timestamp at which diagnostic capture completed.

Resources IReadOnlyDictionary<string, object>

Diagnostic values keyed by their case-insensitive registered resource names. The diagnostics object owns the dictionary but not necessarily objects supplied by individual resources.

Fields

ExceptionDataKey

The exception data key containing captured scenario diagnostics.

public const string ExceptionDataKey = "XBullet.EasyTesting.TestScenarioDiagnostics"

Field Value

string

Properties

CapturedAt

The UTC timestamp at which diagnostic capture completed.

public DateTimeOffset CapturedAt { get; init; }

Property Value

DateTimeOffset

Resources

Diagnostic values keyed by their case-insensitive registered resource names. The diagnostics object owns the dictionary but not necessarily objects supplied by individual resources.

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

Property Value

IReadOnlyDictionary<string, object>

ScenarioId

The stable identifier of the failed scenario.

public string ScenarioId { get; init; }

Property Value

string