Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 21, 2018 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/100cdd39d976fbef004b7a99e9cc04b6 to your computer and use it in GitHub Desktop.
Save justinyoo/100cdd39d976fbef004b7a99e9cc04b6 to your computer and use it in GitHub Desktop.
Testing ARM Templates with Pester
$params = @{ LogicAppName1 = "my-new"; LogicAppName2 = "logic-app" }
$parameters = @{ ResourceGroupName = "my-resource-group"; TemplateFile = ".\LogicApp.json"; Parameters = $params }
$script = @{ Path = ".\LogicApp.Tests.ps1"; Parameters = $parameters }
Invoke-Pester -Script $script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment