1 write to _options
dotnet (1)
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (1)
89
_options
= options;
28 references to _options
dotnet (28)
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (28)
90
bool showProgress =
_options
.ShowProgress;
93
if (
_options
.AnsiMode == AnsiMode.SimpleAnsi)
106
bool useAnsi =
_options
.AnsiMode switch
114
terminal = useAnsi ? new AnsiTerminal(console,
_options
.BaseDirectory) : new NonAnsiTerminal(console);
118
_showActiveTests =
_options
.ShowActiveTests && showProgress;
155
if (
_options
.ShowAssembly &&
_options
.ShowAssemblyStartAndComplete)
272
if (!
_options
.ShowRunSummary)
309
bool notEnoughTests = totalTests <
_options
.MinimumExpectedTests;
310
bool allTestsWereSkipped = (totalTests == 0 && !
_options
.AllowZeroTests)
330
terminal.Append(string.Format(CultureInfo.CurrentCulture, CliCommandStrings.MinimumExpectedTestsPolicyViolation, totalTests,
_options
.MinimumExpectedTests));
354
if (!
_options
.ShowAssembly && assemblies.Count == 1)
365
if (
_options
.ShowAssembly && assemblies.Count > 1)
477
if (flakyTests > 0 &&
_options
.ShowFlakyTests)
502
if (!
_options
.ShowFlakyTests)
507
if (
_options
.ShowAssembly && assemblies.Count > 1)
576
int count =
_options
.SlowestTestsCount;
582
if (
_options
.ShowAssembly && assemblies.Count > 1)
689
terminal.SetColor(
_options
.AllowZeroTests ? TerminalColor.DarkGreen : TerminalColor.DarkRed);
690
terminal.Append(
_options
.AllowZeroTests ? CliCommandStrings.PassedLowercase : CliCommandStrings.ZeroTestsRan);
736
if (
_options
.SlowestTestsCount > 0)
759
if (outcome != TestOutcome.Passed ||
_options
.ShowPassedTests)
795
if (outcome == TestOutcome.Passed && !
_options
.ShowPassedTests)
840
if (
_options
.ShowAssembly)
1082
if (!_isHelp && !_isDiscovery &&
_options
.ShowAssembly &&
_options
.ShowAssemblyStartAndComplete)
1087
if (exitCode == 0 || (
_options
.AllowZeroTests && exitCode == ExitCode.ZeroTests))
1365
if (
_options
.ListTestsFormat == TestListFormat.Json)