1 instantiation of TestRunReporter
aspire (1)
Testing\TestRunReporter.cs (1)
88
var reporter = new
TestRunReporter
(executionContext, interaction, interactive, format, timeProvider, logger, outputPath);
32 references to TestRunReporter
aspire (7)
Commands\TestCommand.cs (5)
115
TestRunReporter
? reporter = null;
119
reporter =
TestRunReporter
.Create(ExecutionContext, InteractionService,
121
_services.LoggerFactory.CreateLogger<
TestRunReporter
>());
206
private async Task<CommandResult> RunTestAppHostAsync(ParseResult parseResult,
TestRunReporter
reporter,
451
private async Task<CommandResult> ExecuteTestRunAsync(TestAppHostSession session,
TestRunReporter
reporter,
Testing\TestRunReporter.cs (2)
58
public static
TestRunReporter
Create(CliExecutionContext executionContext, IInteractionService interaction,
88
var
reporter = new TestRunReporter(executionContext, interaction, interactive, format, timeProvider, logger, outputPath);
Aspire.Cli.Tests (25)
Testing\TestRunReporterTests.cs (25)
30
var
reporter = CreateReporter(context);
61
var
reporter = CreateReporter(context);
88
var
reporter = CreateReporter(CreateContext(workspace));
106
foreach (
var
report in reports)
182
var
reporter = CreateReporter(context, interaction, interactive: true);
218
var
reporter = CreateReporter(CreateContext(workspace));
238
var
reporter = CreateReporter(CreateContext(workspace), interaction, interactive: true);
293
var
reporter = CreateReporter(CreateContext(workspace), interaction, interactive: true);
325
var
reporter =
TestRunReporter
.Create(CreateContext(workspace), interaction, interactive: true,
376
var
reporter = CreateReporter(context, interaction, interactive: true);
403
var
reporter =
TestRunReporter
.Create(CreateContext(workspace), interaction, interactive: false,
442
var
reporter = CreateReporter(CreateContext(workspace), interaction, interactive: true);
468
var
reporter = CreateReporter(CreateContext(workspace), interaction, interactive: true);
501
var
reporter = CreateReporter(CreateContext(workspace), interaction, interactive: true);
531
var
reporter = CreateReporter(CreateContext(workspace));
585
var
reporter = CreateReporter(CreateContext(workspace));
607
var
reporter = CreateReporter(CreateContext(workspace));
623
var
reporter = CreateReporter(CreateContext(workspace));
640
var
reporter = CreateReporter(CreateContext(workspace));
660
var
reporter = CreateReporter(CreateContext(workspace));
695
var
reporter = CreateReporter(CreateContext(workspace));
732
private static
TestRunReporter
CreateReporter(CliExecutionContext context, TestInteractionService? interaction = null, bool interactive = false) =>
733
TestRunReporter
.Create(context, interaction ?? new TestInteractionService(), interactive,