1 instantiation of McpTestContext
Aspire.Cli.Tests (1)
Commands\AgentMcpCommandTests.cs (1)
110
return new
McpTestContext
(mcpClient, cts, workspace, serverRunTask, testTransport, agentMcpCommand, serviceProvider, loggerFactory)
33 references to McpTestContext
Aspire.Cli.Tests (33)
Commands\AgentMcpCommandTests.cs (33)
36
private async Task<
McpTestContext
> CreateMcpClientAsync(string? dashboardUrl = null, string? appHostPath = null)
119
await using
var
ctx = await CreateMcpClientAsync();
153
await using
var
ctx = await CreateMcpClientAsync();
164
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
187
await using
var
ctx = await CreateMcpClientAsync();
225
await using
var
ctx = await CreateMcpClientAsync();
288
await using
var
ctx = await CreateMcpClientAsync();
362
await using
var
ctx = await CreateMcpClientAsync();
436
await using
var
ctx = await CreateMcpClientAsync();
495
await using
var
ctx = await CreateMcpClientAsync();
557
await using
var
ctx = await CreateMcpClientAsync();
578
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
618
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
641
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
785
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
908
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
981
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
1017
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
1046
await using
var
ctx = await CreateMcpClientAsync();
1083
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
1110
await using
var
ctx = await CreateMcpClientAsync(appHostPath: appHostPath);
1163
await using
var
ctx = await CreateMcpClientAsync();
1192
await using
var
ctx = await CreateMcpClientAsync();
1292
await using
var
ctx = await CreateMcpClientAsync();
1331
await using
var
ctx = await CreateMcpClientAsync();
1390
await using
var
ctx = await CreateMcpClientAsync();
1449
await using
var
ctx = await CreateMcpClientAsync();
1473
await using
var
ctx = await CreateMcpClientAsync();
1503
await using
var
ctx = await CreateMcpClientAsync();
1537
await using
var
ctx = await CreateMcpClientAsync();
1550
await using
var
ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888");
1565
await using
var
ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888");
1577
await using
var
ctx = await CreateMcpClientAsync(dashboardUrl: "http://localhost:18888");