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(); 196await using var ctx = await CreateMcpClientAsync(); 270await using var ctx = await CreateMcpClientAsync(); 332await using var ctx = await CreateMcpClientAsync(); 352await using var ctx = await CreateMcpClientAsync(); 388await using var ctx = await CreateMcpClientAsync(); 468await using var ctx = await CreateMcpClientAsync(); 527await using var ctx = await CreateMcpClientAsync(); 540await using var ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888"); 555await using var ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888");