TestRunSummary Class#
Aggregate results for a completed test run, passed to the reporter at the end of a run.
public sealed record TestRunSummary : System.IEquatable<Motus.Abstractions.TestRunSummary>
Inheritance System.Object → TestRunSummary
Implements System.IEquatable<TestRunSummary>
Constructors#
TestRunSummary(string, int, int, int, double, int, int) Constructor#
Aggregate results for a completed test run, passed to the reporter at the end of a run.
public TestRunSummary(string SuiteName, int Passed, int Failed, int Skipped, double TotalDurationMs, int Flaky=0, int Quarantined=0);
Parameters#
SuiteName System.String
The name of the test suite.
Passed System.Int32
The number of tests that passed.
Failed System.Int32
The number of tests that failed.
Skipped System.Int32
The number of tests that were skipped.
TotalDurationMs System.Double
The total wall-clock duration of the run in milliseconds.
Flaky System.Int32
The number of tests that passed only after a retry.
Quarantined System.Int32
The number of quarantined tests, whose outcome did not gate the run.
Properties#
Failed Property#
The number of tests that failed.
public int Failed { get; init; }
Property Value#
Flaky Property#
The number of tests that passed only after a retry.
public int Flaky { get; init; }
Property Value#
Passed Property#
The number of tests that passed.
public int Passed { get; init; }
Property Value#
Quarantined Property#
The number of quarantined tests, whose outcome did not gate the run.
public int Quarantined { get; init; }
Property Value#
Skipped Property#
The number of tests that were skipped.
public int Skipped { get; init; }
Property Value#
SuiteName Property#
The name of the test suite.
public string SuiteName { get; init; }
Property Value#
TotalDurationMs Property#
The total wall-clock duration of the run in milliseconds.
public double TotalDurationMs { get; init; }