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