API Reference
Class
TestRunViewFluent
The fluent methods of TestRunView, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- TestRunViewFluent
Methods
public static TestRunView WithCompact(TestRunView testRunView, Boolean value = true) #Returns:
TestRunViewSets TestRunView.Compact: Draws the compact layout (files, running test, first failures) at the height it needs.
Parameters
- testRunView ConsoleMonster.TestRuns.TestRunView
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static TestRunView WithCompactFailures(TestRunView testRunView, Int32 value) #Returns:
TestRunViewSets TestRunView.CompactFailures: The most failures the compact layout shows (default 2).
Parameters
- testRunView ConsoleMonster.TestRuns.TestRunView
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static TestRunView WithCompactFiles(TestRunView testRunView, Int32 value) #Returns:
TestRunViewSets TestRunView.CompactFiles: The most file lanes the compact layout shows (default 6).
Parameters
- testRunView ConsoleMonster.TestRuns.TestRunView
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static TestRunView WithTitle(TestRunView testRunView, String? value) #Returns:
TestRunViewSets TestRunView.Title: The header title, or null (default) for the built-in word ("Tests" in English).
Parameters
- testRunView ConsoleMonster.TestRuns.TestRunView
- The instance.
- value System.String?
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?