TestRunSummaryFluent
ConsoleMonster.TestRuns
The fluent methods of TestRunSummary, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- TestRunSummaryFluent
Methods
public static TestRunSummary GroupLabel(TestRunSummary testRunSummary, string? value) #Sets TestRunSummary.GroupLabel: The heading of the group column when the records named groups (for example Product), or null for the built-in word.
Parameters
- testRunSummary ConsoleMonster.TestRuns.TestRunSummary
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
testRunSummary.GroupLabel = value; testRunSummary.GroupLabel(value);public static TestRunSummary MaxFailures(TestRunSummary testRunSummary, int value) #Sets TestRunSummary.MaxFailures: The most failures listed (default 20), and the most results to investigate; the rest are counted.
Parameters
- testRunSummary ConsoleMonster.TestRuns.TestRunSummary
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
testRunSummary.MaxFailures = value; testRunSummary.MaxFailures(value);public static TestRunSummary ReportPath(TestRunSummary testRunSummary, string? value) #Sets TestRunSummary.ReportPath: The report written for the run (a file path or an http, https or file URL), shown on the last line; a link where the terminal supports links, the plain path otherwise. Null (default) shows no report line.
Parameters
- testRunSummary ConsoleMonster.TestRuns.TestRunSummary
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
testRunSummary.ReportPath = value; testRunSummary.ReportPath(value);public static TestRunSummary ShowFailures(TestRunSummary testRunSummary, bool value = true) #Sets TestRunSummary.ShowFailures: Whether the failures are listed (default true); off when the test framework already printed them.
Parameters
- testRunSummary ConsoleMonster.TestRuns.TestRunSummary
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
testRunSummary.ShowFailures = value; testRunSummary.ShowFailures(value);