Repository navigation
Add integration tests - #368
Open
linglingye001 wants to merge 7 commits into
Open
linglingye001 wants to merge 7 commits into
linglingye001 wants to merge 7 commits into
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
Static review found no blocking issues in the test-only changes, fixture isolation, cleanup, or execution command.
No open issues 🎉
What changed in this PR
Adds live-service integration coverage for the JavaScript provider against the dedicated App Configuration test store, without changing production code.
Changes:
- Covers selector-based loading, JSON parsing, hierarchical configuration, and key-value and feature-flag refresh.
- Adds isolated fixtures with tracked cleanup, refresh polling, response tracking, and helper unit tests.
- Adds a serial ESM integration-test command using
DefaultAzureCredentialauthentication.
| File | Description |
|---|---|
test/integrationHelpers.test.ts |
Tests fixture isolation, cleanup, polling, and response tracking. |
test/integration/refresh.test.ts |
Tests collection refresh and label-specific sentinel monitoring. |
test/integration/load.test.ts |
Tests loading values with key and label selectors. |
test/integration/json.test.ts |
Tests JSON parsing and hierarchical configuration construction. |
test/integration/helpers.ts |
Provides isolated fixtures, cleanup, polling, and response tracking. |
test/integration/featureFlag.test.ts |
Tests feature-flag selection and independent refresh. |
package.json |
Adds the serial integration-test command. |
Review effort: Balanced
Yuan Qu (yuanqu72)
approved these changes
Oct 26, 2026
* Migrate to azure pipeline * update
…ScriptProvider into linglingye/integration-test
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds Node.js live-service integration tests to verify provider behavior against the dedicated
appconfig-jsprovider-integrationteststore.Coverage:
Test infrastructure
npm run test:integration, compiling ESM tests and running them serially with Mocha/Chai.DefaultAzureCredentialfor authentication and the SDK to manage fixtures.