1 write to LogPath
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
48
LogPath
= Path.Combine(_buildEnv.LogRootPath, Id);
15 references to LogPath
Aspire.Templates.Tests (15)
BuildAndRunTemplateTests.cs (2)
44
await CheckDashboardHasResourcesAsync(page, [], logPath: project.
LogPath
);
145
await CheckDashboardHasResourcesAsync(page, [], logPath: project.
LogPath
);
EmptyTemplateRunTests.cs (1)
30
logPath: _testFixture.Project.
LogPath
);
PerTestFrameworkTemplatesTests.cs (1)
65
await CheckDashboardHasResourcesAsync(page, [], logPath: project.
LogPath
);
StarterTemplateRunTestsBase.cs (5)
35
logPath: _testFixture.Project.
LogPath
);
50
logPath: _testFixture.Project.
LogPath
);
55
await CheckWebFrontendWorksAsync(context, url, _testOutput, _testFixture.Project.
LogPath
, hasRedisCache: HasRedisCache);
71
logPath: _testFixture.Project.
LogPath
);
76
await CheckApiServiceWorksAsync(url, _testOutput, _testFixture.Project.
LogPath
);
TemplateTestsBase.cs (3)
296
project.
LogPath
).ConfigureAwait(false);
299
await StarterTemplateRunTestsBase<StarterTemplateFixture>.CheckApiServiceWorksAsync(apiServiceUrl, _testOutput, project.
LogPath
);
302
await StarterTemplateRunTestsBase<StarterTemplateFixture>.CheckWebFrontendWorksAsync(context, webFrontEnd, _testOutput, project.
LogPath
);
tests\Shared\TemplatesTesting\AspireProject.cs (3)
55
Directory.CreateDirectory(
LogPath
);
334
var res = await restoreCmd.ExecuteAsync($"restore \"-bl:{Path.Combine(
LogPath
!, $"{Id}-restore.binlog")}\" /p:TreatWarningsAsErrors=true");
337
var buildArgs = $"build \"-bl:{Path.Combine(
LogPath
!, $"{Id}-build.binlog")}\" /p:TreatWarningsAsErrors=true";