Skip to content

Unit tests for Setup Command#47

Merged
Josina20 merged 1 commit intomainfrom
users/josjoy/unittests
Nov 25, 2025
Merged

Unit tests for Setup Command#47
Josina20 merged 1 commit intomainfrom
users/josjoy/unittests

Conversation

@Josina20
Copy link
Contributor

No description provided.

@Josina20 Josina20 requested a review from a team as a code owner November 25, 2025 23:16
Copilot AI review requested due to automatic review settings November 25, 2025 23:16
@Josina20 Josina20 requested a review from a team as a code owner November 25, 2025 23:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive unit tests for three Setup Command subcommands (Permissions, Endpoint, and Blueprint), improving test coverage for the CLI tool's setup workflow.

Key Changes:

  • Added 494 lines of tests for PermissionsSubcommand covering MCP and Bot permission configuration
  • Added 591 lines of tests for EndpointSubcommand covering Azure Bot Service endpoint registration
  • Added 560 lines of tests for BlueprintSubcommand covering agent blueprint creation

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 15 comments.

File Description
PermissionsSubcommandTests.cs Unit tests for the permissions subcommand, testing command structure, options, and validation for both MCP and Bot permission configuration
EndpointSubcommandTests.cs Unit tests for the endpoint subcommand, testing command options, endpoint registration, and project settings synchronization
BlueprintSubcommandTests.cs Unit tests for the blueprint subcommand, testing command structure, dry-run behavior, Azure validation, and blueprint creation logic

@Josina20 Josina20 merged commit 7b8f08c into main Nov 25, 2025
7 of 8 checks passed
@pontemonti pontemonti deleted the users/josjoy/unittests branch December 5, 2025 17:26
sellakumaran pushed a commit that referenced this pull request Feb 27, 2026
Co-authored-by: Josina Joy <josjoy@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants