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