1 write to Project
Aspire.Workload.Tests (1)
TemplateAppFixture.cs (1)
38
Project
= await AspireProject.CreateNewTemplateProjectAsync(
18 references to Project
Aspire.Workload.Tests (18)
EmptyTemplateRunTests.cs (1)
25
await _testFixture.
Project
!.OpenDashboardPageAsync(context),
StarterTemplateRunTestsBase.cs (8)
31
await _testFixture.
Project
!.OpenDashboardPageAsync(context),
32
GetExpectedResources(_testFixture.
Project
!, hasRedisCache: HasRedisCache),
44
await _testFixture.
Project
!.OpenDashboardPageAsync(context),
45
GetExpectedResources(_testFixture.
Project
!, hasRedisCache: HasRedisCache),
50
await CheckWebFrontendWorksAsync(context, url, _testOutput, _testFixture.
Project
.LogPath, hasRedisCache: HasRedisCache);
61
await _testFixture.
Project
!.OpenDashboardPageAsync(context),
62
GetExpectedResources(_testFixture.
Project
!, hasRedisCache: HasRedisCache),
67
await CheckApiServiceWorksAsync(url, _testOutput, _testFixture.
Project
.LogPath);
TemplateAppFixture.cs (9)
46
await
Project
.BuildAsync(extraBuildArgs: [$"-c {_config}"]);
47
await
Project
.StartAppHostAsync(extraArgs: [$"-c {_config}"]);
52
if (
Project
is not null)
54
await
Project
.DisposeAsync();
60
if (
Project
!.AppHostProcess is null ||
Project
.AppHostProcess.HasExited ||
Project
.AppExited?.Task.IsCompleted == true)
62
throw new InvalidOperationException($"The app host process is not running. {
Project
.AppHostProcess?.HasExited}, {
Project
.AppExited?.Task.IsCompleted}");