1 write to Copilot
Aspire.Cli.Tests (1)
Agents\AgentConfigurationTestContext.cs (1)
37Copilot = new CopilotAgentClient(ExecutionContext, Environment, NullLogger<CopilotAgentClient>.Instance);
26 references to Copilot
Aspire.Cli.Tests (26)
Agents\AgentConfigurationTestContext.cs (1)
40Clients = [Copilot, ClaudeCode, OpenCode];
Agents\AgentConfigurationTests.cs (11)
196var path = _context.Copilot.GetIntegrationConfigPath(AgentConfigurationScope.Project, _context.Project); 204await _context.Copilot.UpdateIntegrationConfigAsync( 522IAgentClient[] clients = [_context.Copilot]; 685var results = await _context.ConfigureIntegrationAsync(AgentConfigurationScope.Global, [_context.Copilot]).DefaultTimeout(); 686var repeated = await _context.ConfigureIntegrationAsync(AgentConfigurationScope.Global, [_context.Copilot]).DefaultTimeout(); 701AgentConfigurationScope.Global, [_context.Copilot, _context.ClaudeCode]); 705Assert.Equal([_context.Copilot, _context.ClaudeCode], result.Clients); 723AgentConfigurationScope.Global, [_context.Copilot, _context.ClaudeCode]); 727Assert.Equal([_context.Copilot, _context.ClaudeCode], result.Clients); 737AgentConfigurationScope.Project, [_context.Copilot, _context.ClaudeCode]); 751AgentConfigurationScope.Project, [_context.Copilot], cancellation.Token)).DefaultTimeout();
Agents\AgentPathTests.cs (2)
45_context.Copilot.GetIntegrationConfigPath(AgentConfigurationScope.Global, _context.Project)); 47_context.Copilot.GetMcpConfigPath(AgentConfigurationScope.Global, _context.Project));
Agents\LocalAspireSkillsTests.cs (3)
34var result = Scan([_context.Copilot]); 77var result = Scan([_context.Copilot, _context.OpenCode]); 238var result = Scan([_context.Copilot]);
Commands\AgentInitClientSelectionTests.cs (2)
1380Assert.True(File.Exists(context.Copilot.GetIntegrationConfigPath(AgentConfigurationScope.Global, context.Project))); 1381Assert.True(File.Exists(context.Copilot.GetMcpConfigPath(AgentConfigurationScope.Global, context.Project)));
Commands\AgentInitCommandTests.cs (7)
131Assert.Equal(expectSourcePrompt, File.Exists(context.Copilot.GetIntegrationConfigPath(AgentConfigurationScope.Project, context.Project))); 201Assert.Equal(remote, File.Exists(context.Copilot.GetIntegrationConfigPath(AgentConfigurationScope.Project, context.Project))); 1164Assert.All(await context.ConfigureIntegrationAsync(scope, [context.Copilot]).DefaultTimeout(), 1201IAgentClient[] clients = [context.Copilot, context.ClaudeCode]; 1331Assert.True(File.Exists(context.Copilot.GetMcpConfigPath(scope, context.Project))); 1364Assert.True(File.Exists(context.Copilot.GetIntegrationConfigPath(AgentConfigurationScope.Project, context.Project))); 1365Assert.True(File.Exists(context.Copilot.GetMcpConfigPath(AgentConfigurationScope.Project, context.Project)));