1 write to _testOutput
Aspire.Templates.Tests (1)
TemplateTestsBase.cs (1)
30_testOutput = new TestOutputWrapper(testOutput);
21 references to _testOutput
Aspire.Templates.Tests (21)
AppHostTemplateTests.cs (1)
23_testOutput,
BuildAndRunStarterTemplateBuiltInTest.cs (2)
39_testOutput, 43await TemplateTestsBase.AssertTestProjectRunAsync(project.TestsProjectDirectory, testType, _testOutput, config);
BuildAndRunTemplateTests.cs (7)
36await using var project = await AspireProject.CreateNewTemplateProjectAsync(id, "aspire", _testOutput, buildEnvironment: BuildEnvironment.ForDefaultFramework); 53await using var project = await AspireProject.CreateNewTemplateProjectAsync(id, "aspire", _testOutput, buildEnvironment: BuildEnvironment.ForDefaultFramework); 108_testOutput, 112await AssertStarterTemplateRunAsync(context, project, config, _testOutput); 125_testOutput, 130using var buildCmd = new DotNetCommand(_testOutput, buildEnv: testSpecificBuildEnvironment, label: "first-run") 156await using var project = await AspireProject.CreateNewTemplateProjectAsync(id, "aspire-apphost", _testOutput, buildEnvironment: BuildEnvironment.ForDefaultFramework, addEndpointsHook: false);
PerTestFrameworkTemplatesTests.cs (2)
32_testOutput, 46using var cmd = new DotNetCommand(_testOutput, label: $"test-{_testTemplateName}")
StarterTemplateProjectNamesTests.cs (5)
32_testOutput, 37_testOutput.WriteLine($"Checking the starter template project"); 38await AssertStarterTemplateRunAsync(context, project, config, _testOutput); 40_testOutput.WriteLine($"Checking the starter template project tests"); 41await AssertTestProjectRunAsync(project.TestsProjectDirectory, _testType, _testOutput, config);
StarterTemplateRunTestsBase.cs (2)
53await CheckWebFrontendWorksAsync(context, url, _testOutput, _testFixture.Project.LogPath, hasRedisCache: HasRedisCache); 73await CheckApiServiceWorksAsync(url, _testOutput, _testFixture.Project.LogPath);
TemplateTestsBase.cs (2)
64_testOutput, 152=> CheckDashboardHasResourcesAsync(dashboardPageWrapper, expectedResources, _testOutput, logPath, timeoutSecs);