Class
TestRunViewFluent
ConsoleMonster.TestRuns
The fluent methods of TestRunView, 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
- TestRunViewFluent
Methods
public static TestRunView Compact(TestRunView testRunView, bool value = true) #Sets TestRunView.Compact: Draws the compact layout (files, running test, first failures) at the height it needs.
Parameters
- testRunView ConsoleMonster.TestRuns.TestRunView
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
testRunView.Compact = value; testRunView.Compact(value);public static TestRunView CompactFailures(TestRunView testRunView, int value) #Sets TestRunView.CompactFailures: The most failures the compact layout shows (default 2).
Parameters
- testRunView ConsoleMonster.TestRuns.TestRunView
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
testRunView.CompactFailures = value; testRunView.CompactFailures(value);public static TestRunView CompactFiles(TestRunView testRunView, int value) #Sets TestRunView.CompactFiles: The most file lanes the compact layout shows (default 6).
Parameters
- testRunView ConsoleMonster.TestRuns.TestRunView
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
testRunView.CompactFiles = value; testRunView.CompactFiles(value);public static TestRunView Title(TestRunView testRunView, string? value) #Sets TestRunView.Title: The header title, or null (default) for the built-in word ("Tests" in English).
Parameters
- testRunView ConsoleMonster.TestRuns.TestRunView
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
testRunView.Title = value; testRunView.Title(value);