1 write to Project
Aspire.Workload.Tests (1)
TemplateAppFixture.cs (1)
36
Project
= await AspireProject.CreateNewTemplateProjectAsync(
15 references to Project
Aspire.Workload.Tests (15)
EmptyTemplateRunTests.cs (1)
25
await _testFixture.
Project
!.OpenDashboardPageAsync(context),
StarterTemplateRunTestsBase.cs (5)
30
await _testFixture.
Project
!.OpenDashboardPageAsync(context).ConfigureAwait(false),
31
GetExpectedResources(_testFixture.
Project
!, hasRedisCache: HasRedisCache),
43
await _testFixture.
Project
!.OpenDashboardPageAsync(context).ConfigureAwait(false),
44
GetExpectedResources(_testFixture.
Project
!, hasRedisCache: HasRedisCache),
49
await CheckWebFrontendWorksAsync(context, url, _testOutput, _testFixture.
Project
.LogPath, hasRedisCache: HasRedisCache);
TemplateAppFixture.cs (9)
43
await
Project
.BuildAsync(extraBuildArgs: [$"-c {_config}"]);
44
await
Project
.StartAppHostAsync(extraArgs: [$"-c {_config}"]);
49
if (
Project
is not null)
51
await
Project
.DisposeAsync();
57
if (
Project
!.AppHostProcess is null ||
Project
.AppHostProcess.HasExited ||
Project
.AppExited?.Task.IsCompleted == true)
59
throw new InvalidOperationException($"The app host process is not running. {
Project
.AppHostProcess?.HasExited}, {
Project
.AppExited?.Task.IsCompleted}");