![]() ![]() The below test is what I will run to confirm a few things about the resource group, first, that it exists by checking its provisioning state, that it is named how I expect it and lastly that there is only 1. Pester works on the principal of Describe, Context, It, Should and Mock. Pester introduces a professional test framework for Windows PowerShell commands. Let’s take a look below at how this works. Take the ResourceGroup test requirement, this would essentially be: TOPIC Pester tests can execute any command or script that is accessible to a CREATING A PESTER TEST C:PS>New-Fixture deploy Clean Creates two files: It. ![]() This includes functions, Cmdlets, Modules and scripts.
0 Comments
Leave a Reply. |