8 instantiations of TestingContext
Aspire.Hosting (1)
TestResourceBuilderExtensions.cs (1)
86testingContext = new TestingContext(Path.GetFullPath(outputPath));
Aspire.Hosting.RemoteHost.Tests (1)
JsonRpcCallbackInvokerTests.cs (1)
74var testingContext = new ResourceTestingContext(new TestingContext(AppContext.BaseDirectory),
Aspire.Hosting.Tests (6)
Cli\TestingCollectorTests.cs (6)
235var context = new ResourceTestingContext(new TestingContext("run-output"), "tests", "resource-output", 250var context = new ResourceTestingContext(new TestingContext("run-output"), "tests", "resource-output", 968var context = new ResourceTestingContext(new TestingContext(workspace.WorkspaceRoot.FullName), 985var context = new ResourceTestingContext(new TestingContext(workspace.WorkspaceRoot.FullName), 1004var context = new ResourceTestingContext(new TestingContext(workspace.WorkspaceRoot.FullName), 1030var context = new ResourceTestingContext(new TestingContext(workspace.WorkspaceRoot.FullName),
7 references to TestingContext
Aspire.Hosting (5)
ApplicationModel\ResourceTestingContext.cs (2)
34internal ResourceTestingContext(TestingContext testingContext, string resourceName, string outputPath, 49public TestingContext TestingContext { get; }
ApplicationModel\TestingAnnotation.cs (1)
56internal TestingContext? TestingContext { get; init; }
Cli\TestRunCoordinator.cs (1)
289private async Task<(bool Passed, string? Error)> RunCollectorAsync(string resourceName, TestingContext testingContext, string outputPath,
TestResourceBuilderExtensions.cs (1)
79var testingContext = annotation?.TestingContext;
Aspire.Hosting.Tests (2)
Cli\TestingCollectorTests.cs (2)
164Assert.All(new[] { typeof(ResourceTestingContext), typeof(TestingContext), 704var testingContext = annotation.TestingContext;