PowerShell Studio: Pester Integration
Summary
The v5.6.164 service build introduces Pester integration into PowerShell Studio. For example, if you have a script named: The associated Pester test file should be: The *.Tests.ps1 files contain all of your Pester tests that will be executed when you run the Run Pester Test command: Note: PowerShell Studio does not require you to dot source the source file within the *.Tests.ps1 script. It will automatically dot source the original file for you when you use the Run Pester Test command. Here is a summary of what each symbol means: The test totals are reflected at the bottom of the results: You can double-click on the Description, Context or Test name to quickly jump to that location within the *.Tests.ps1 script. Since the Pester results are displayed in the Tools Output panel, you can take advantage of the Copy HTML functionality: We plan on expanding our Pester support for PowerShell Studio.