Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Powershell Pester Testrunner 2015
Powershell Pester Testrunner 2015

Powershell Pester Testrunner 2015

Jonkers

|
171 installs
| (1) | Free
Powershell Pester Testrunner VS 2015
Download

The Powershell Pester Test Runner Visual Studio Extension can run Pester Tests and show the code coverage.

TESTS

The Powershell Tests window shows the Tests in a solution or folder and allows you to run them.

Press the LOAD button to load the current tests in your solution.

Powershell_Tests.PNG

DETAILS

Details of tests are shown: Powershell_Details.PNG

TEST STATUS

The status of tests is shown in the editor and tests can be started using the lightbulb. The Powershell Tools are needed to support this.

Powershell_Tests_Lightbulb.PNG

CODE COVERAGE

The Powershell Code coverage window give an overview of the hits and miss percentages. Code coverage is calculated automatically for -Describe tests cases that use the -CodeCoverage parameter.

For example:

Describe -Tags "Example" -CodeCoverage $PSScriptRoot\Add-Numbers.ps1 "Add-Numbers" { Powershell_Code_Coverage.PNG

HITS AND MISSES

The sources will light up with red and green lines to show which lines were hit and which were missed. The Powershell Tools are needed to support this. Hits_in_sources.PNG

OPEN THE WINDOWS

Open the windows from the View => Other Windows Other_Windows.PNG

Open the Code Coverage or Tests windows. Menu_options.PNG

GHERKIN

Gherkin feature files are loaded in and can be run from the test window. Gherkin_Tests.PNG

For a feature editor please download SpecFlow here. Gherkin_Tests_Lightbulb.PNG

OPTIONS

Change the colors in the options => Fonts and Colors

Load a code coverage file and click on the folders and files to view the covered percentages or the colored source files.

Powershell Pester is used to unittest Powershell scripts and it supports exporting the codecoverage data in JaCoCo format.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft