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