1 instantiation of McpTestContext
Aspire.Cli.Tests (1)
Commands\AgentMcpCommandTests.cs (1)
91
return new
McpTestContext
(mcpClient, cts, workspace, serverRunTask, testTransport, serviceProvider, loggerFactory)
12 references to McpTestContext
Aspire.Cli.Tests (12)
Commands\AgentMcpCommandTests.cs (12)
29
private async Task<
McpTestContext
> CreateMcpClientAsync(string? dashboardUrl = null)
100
await using
var
ctx = await CreateMcpClientAsync();
133
await using
var
ctx = await CreateMcpClientAsync();
196
await using
var
ctx = await CreateMcpClientAsync();
270
await using
var
ctx = await CreateMcpClientAsync();
332
await using
var
ctx = await CreateMcpClientAsync();
352
await using
var
ctx = await CreateMcpClientAsync();
388
await using
var
ctx = await CreateMcpClientAsync();
468
await using
var
ctx = await CreateMcpClientAsync();
527
await using
var
ctx = await CreateMcpClientAsync();
540
await using
var
ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888");
555
await using
var
ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888");