1 instantiation of McpTestContext
Aspire.Cli.Tests (1)
Commands\AgentMcpCommandTests.cs (1)
91return new McpTestContext(mcpClient, cts, workspace, serverRunTask, testTransport, serviceProvider, loggerFactory)
12 references to McpTestContext
Aspire.Cli.Tests (12)
Commands\AgentMcpCommandTests.cs (12)
29private async Task<McpTestContext> CreateMcpClientAsync(string? dashboardUrl = null) 100await using var ctx = await CreateMcpClientAsync(); 133await using var ctx = await CreateMcpClientAsync(); 197await using var ctx = await CreateMcpClientAsync(); 272await using var ctx = await CreateMcpClientAsync(); 335await using var ctx = await CreateMcpClientAsync(); 355await using var ctx = await CreateMcpClientAsync(); 391await using var ctx = await CreateMcpClientAsync(); 472await using var ctx = await CreateMcpClientAsync(); 532await using var ctx = await CreateMcpClientAsync(); 545await using var ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888"); 560await using var ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888");