Skip to content

Class TestRunResult

Namespace: Apogee.Scripting
Assembly: Apogee.Scripting.dll

public sealed record TestRunResult : IEquatable<TestRunResult>

Inheritance

object ← TestRunResult

Implements

IEquatable<TestRunResult>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

TestRunResult(IReadOnlyList<TestFileResult>, TimeSpan)

public TestRunResult(IReadOnlyList<TestFileResult> Files, TimeSpan Elapsed)

Parameters

Files IReadOnlyList<TestFileResult>

Elapsed TimeSpan

Properties

Elapsed

public TimeSpan Elapsed { get; init; }

Property Value

TimeSpan

Failed

public int Failed { get; }

Property Value

int

Files

public IReadOnlyList<TestFileResult> Files { get; init; }

Property Value

IReadOnlyList<TestFileResult>

Passed

public int Passed { get; }

Property Value

int

Skipped

public int Skipped { get; }

Property Value

int

Success

True when something ran and nothing failed: a folder with no tests is not a pass.

public bool Success { get; }

Property Value

bool