Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Test-ShouldProcess to wrap ShouldProcess calls #488

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

flanakin
Copy link
Collaborator

πŸ› οΈ Description

Creates a Test-ShouldProcess command that can be mocked for -WhatIf testing.

πŸ“‹ Checklist

πŸ”¬ How did you test this change?

  • 🀞 PS -WhatIf / az validate
  • πŸ‘ Manually deployed + verified
  • πŸ’ͺ Unit tests

πŸ™‹β€β™€οΈ Do any of the following that apply?

  • 🚨 This is a breaking change.
  • 🀏 The change is less than 20 lines of code.

πŸ“‘ Did you update docs/changelog.md?

  • βœ… Yes (required for dev PRs)
  • ➑️ Will cover in a future PR (feature branch PRs only)
  • ❎ Not needed (small/internal change)

πŸ“– Did you update documentation?

  • βœ… Public docs in docs (required for dev)
  • βœ… Internal dev docs in src (required for dev)
  • ➑️ Will cover in a future PR (feature branch PRs only)
  • ❎ Not needed (small/internal change)

@flanakin flanakin requested a review from aromano2 as a code owner December 13, 2023 10:07
@flanakin flanakin requested a review from a team December 13, 2023 10:07
@flanakin flanakin added this to the 0.1.2 milestone Dec 13, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Review πŸ‘€ PR that is ready to be reviewed label Dec 13, 2023
@flanakin flanakin merged commit 564a98f into dev Dec 13, 2023
3 checks passed
@flanakin flanakin deleted the flanakin/dev/ps-shouldprocss branch December 13, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Review πŸ‘€ PR that is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant