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
ScenarioIdstringThe stable identifier of the failed scenario.
CapturedAtDateTimeOffsetThe UTC timestamp at which diagnostic capture completed.
ResourcesIReadOnlyDictionary<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
Properties
CapturedAt
The UTC timestamp at which diagnostic capture completed.
public DateTimeOffset CapturedAt { get; init; }
Property Value
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
ScenarioId
The stable identifier of the failed scenario.
public string ScenarioId { get; init; }