Class StepResult
One timed outcome in Steps. Seconds is elapsed wall time;
Error is empty on success and contains the exception message on failure.
The default Phase is Scenario.
public sealed record StepResult
- Inheritance
-
objectStepResult
Constructors
StepResult(string, bool, double, string, StepPhase)
One timed outcome in Steps. Seconds is elapsed wall time;
Error is empty on success and contains the exception message on failure.
The default Phase is Scenario.
public StepResult(string Name, bool Passed, double Seconds, string Error, StepPhase Phase = StepPhase.Scenario)
Parameters
NamestringPassedboolSecondsdoubleErrorstringPhaseStepPhase
Properties
Error
public string Error { get; init; }
Property Value
- string
Name
public string Name { get; init; }
Property Value
- string
Passed
public bool Passed { get; init; }
Property Value
- bool
Phase
public StepPhase Phase { get; init; }
Property Value
Seconds
public double Seconds { get; init; }
Property Value
- double