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)
38_testOutput, 42await TemplateTestsBase.AssertTestProjectRunAsync(project.TestsProjectDirectory, testType, _testOutput, config);
BuildAndRunTemplateTests.cs (7)
35await using var project = await AspireProject.CreateNewTemplateProjectAsync(id, "aspire", _testOutput, buildEnvironment: BuildEnvironment.ForDefaultFramework); 52await using var project = await AspireProject.CreateNewTemplateProjectAsync(id, "aspire", _testOutput, buildEnvironment: BuildEnvironment.ForDefaultFramework); 106_testOutput, 110await AssertStarterTemplateRunAsync(context, project, config, _testOutput); 123_testOutput, 128using var buildCmd = new DotNetCommand(_testOutput, buildEnv: testSpecificBuildEnvironment, label: "first-run") 153await using var project = await AspireProject.CreateNewTemplateProjectAsync(id, "aspire-apphost", _testOutput, buildEnvironment: BuildEnvironment.ForDefaultFramework, addEndpointsHook: false);
PerTestFrameworkTemplatesTests.cs (2)
31_testOutput, 45using 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); 72await CheckApiServiceWorksAsync(url, _testOutput, _testFixture.Project.LogPath);
TemplateTestsBase.cs (2)
64_testOutput, 152=> CheckDashboardHasResourcesAsync(dashboardPageWrapper, expectedResources, _testOutput, logPath, timeoutSecs);