This repository was archived by the owner on Feb 6, 2026. It is now read-only.
Add appconfig unit tests - #749
Merged
Merged
Conversation
chidozieononiwu
requested review from
KarishmaGhiya,
conniey,
g2vinay and
sandeep-sen
July 25, 2025 23:07
Closed
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive unit tests for the Azure App Configuration MCP area, providing test coverage for key-value operations and account management functionality.
- Adds unit tests for all key-value commands (set, get, list, delete, lock, unlock)
- Adds unit tests for account listing command
- Includes proper test project setup with required dependencies
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| AzureMcp.AppConfig.UnitTests.csproj | New test project file with NSubstitute and xUnit dependencies |
| KeyValue/*CommandTests.cs | Unit tests for all key-value commands testing happy path, error cases, and parameter validation |
| Account/AccountListCommandTests.cs | Unit tests for account listing command with various scenarios |
| Models/*.cs | Internal record types added to support test result verification |
| AzureMcp.sln | Solution file updated to include new test project |
| AccessPolicyListCommandTests.cs | Removed unused import statement |
chidozieononiwu
force-pushed
the
appconfig-unit-two
branch
from
July 25, 2025 23:19
6e10187 to
be09751
Compare
vcolin7
suggested changes
Jul 29, 2025
chidozieononiwu
force-pushed
the
appconfig-unit-two
branch
from
July 29, 2025 18:25
be09751 to
1a9441a
Compare
vcolin7
suggested changes
Jul 29, 2025
chidozieononiwu
force-pushed
the
appconfig-unit-two
branch
from
July 29, 2025 21:01
1a9441a to
e1ee761
Compare
vcolin7
approved these changes
Jul 29, 2025
KarishmaGhiya
pushed a commit
to KarishmaGhiya/azure-mcp
that referenced
this pull request
Jul 31, 2025
* Add appconfig-unit tests * Resolve various issues raised in PR
anannya03
pushed a commit
that referenced
this pull request
Aug 6, 2025
* Add appconfig-unit tests * Resolve various issues raised in PR
chidozieononiwu
added a commit
to chidozieononiwu/azure-mcp
that referenced
this pull request
Aug 18, 2025
* Add appconfig-unit tests * Resolve various issues raised in PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Replaces #396 after repo restructuring
GitHub issue number?
https://github.com/Azure/azure-mcp-pr/issues/296