Add L0 tests for AzureFunctionAppV1 and AzureFunctionAppV2#22125
Open
v-abhishera wants to merge 9 commits into
Open
Add L0 tests for AzureFunctionAppV1 and AzureFunctionAppV2#22125v-abhishera wants to merge 9 commits into
v-abhishera wants to merge 9 commits into
Conversation
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
3 similar comments
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Co-authored-by: Copilot <copilot@github.com>
e471ec7 to
b04b828
Compare
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
…e unnecessary files - Refactor DeploymentFactoryTests for better clarity and efficiency - Update L0 tests to ensure proper task parameter validation - Remove obsolete package.json and package-lock.json files - Increment patch version in task.json and task.loc.json for AzureFunctionAppV1 and AzureFunctionAppV2
- update V1/V2 DeploymentFactory tests to validate real routing behavior - add V2 parity test for unmatched deployment method current behavior - harden L0 smoke assertions for expected mock outcome and error signal - replace silent TaskParameters checks with assert-based validation - clean test setup (remove unused tmpDir, dedupe env setup, add deferred-require note, align mock osType) - bump task versions: - AzureFunctionAppV1: 1.274.2 -> 1.274.3 - AzureFunctionAppV2: 2.274.1 -> 2.274.2 - update task.json/task.loc.json in sync for both tasks
…ps://github.com/microsoft/azure-pipelines-tasks into users/v-abhishera/AzureFunctionAppL0TestAdditon
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.
Summary
Adds and improves L0 test coverage for AzureFunctionAppV1 and AzureFunctionAppV2, hardens assertions, and aligns task patch versions.
What changed
1.274.2->1.274.32.274.1->2.274.2Validation
Risk
Low. Changes are test-focused plus required task version metadata updates; no production deployment logic changes were introduced.