Skip to content

Class TestFileResult

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

public sealed record TestFileResult : IEquatable<TestFileResult>

Inheritance

object ← TestFileResult

Implements

IEquatable<TestFileResult>

Inherited Members

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

Constructors

TestFileResult(string, int, int, int, string?, IReadOnlyList<TestFailure>)

public TestFileResult(string File, int Passed, int Failed, int Skipped, string? Error, IReadOnlyList<TestFailure> Failures)

Parameters

File string

Passed int

Failed int

Skipped int

Error string?

Set when the file itself failed (it did not compile, raised an error outside a case, or never finished).

Failures IReadOnlyList<TestFailure>

Properties

Error

Set when the file itself failed (it did not compile, raised an error outside a case, or never finished).

public string? Error { get; init; }

Property Value

string?

Failed

public int Failed { get; init; }

Property Value

int

Failures

public IReadOnlyList<TestFailure> Failures { get; init; }

Property Value

IReadOnlyList<TestFailure>

File

public string File { get; init; }

Property Value

string

Ok

public bool Ok { get; }

Property Value

bool

Passed

public int Passed { get; init; }

Property Value

int

Skipped

public int Skipped { get; init; }

Property Value

int