Skip to content
ConsoleMonster

API Reference

Class

TestRunViewFluent

Namespace ConsoleMonster.TestRuns
Assembly ConsoleMonster
Modifiers static
Attributes
GeneratedCode("ConsoleMonster.Generators", "1.0.0")

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: TestRunView

Sets TestRunView.Compact: Draws the compact layout (files, running test, first failures) at the height it needs.

Parameters

testRunView ConsoleMonster.TestRuns.TestRunView requiredposition: 0
The instance.
value System.Boolean = true optionalposition: 1
The value (default true).

Returns

The same instance.

public static TestRunView WithCompactFailures(TestRunView testRunView, Int32 value) #
Returns: TestRunView

Sets TestRunView.CompactFailures: The most failures the compact layout shows (default 2).

Parameters

testRunView ConsoleMonster.TestRuns.TestRunView requiredposition: 0
The instance.
value System.Int32 requiredposition: 1
The value.

Returns

The same instance.

public static TestRunView WithCompactFiles(TestRunView testRunView, Int32 value) #
Returns: TestRunView

Sets TestRunView.CompactFiles: The most file lanes the compact layout shows (default 6).

Parameters

testRunView ConsoleMonster.TestRuns.TestRunView requiredposition: 0
The instance.
value System.Int32 requiredposition: 1
The value.

Returns

The same instance.

public static TestRunView WithTitle(TestRunView testRunView, String? value) #
Returns: TestRunView

Sets TestRunView.Title: The header title, or null (default) for the built-in word ("Tests" in English).

Parameters

testRunView ConsoleMonster.TestRuns.TestRunView requiredposition: 0
The instance.
value System.String? requiredposition: 1
The value.

Returns

The same instance.