Table of Contents

Class StepResult

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

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
object
StepResult

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

Name string
Passed bool
Seconds double
Error string
Phase StepPhase

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

StepPhase

Seconds

public double Seconds { get; init; }

Property Value

double