This repository contains a Pester implementation of a TestAdapter
extension that works with the
Test Explorer extension for Visual Studio Code.
It currently supports running and debugging Pester tests as the workspace, file, Describe
, or It
level!
It leverages the PowerShell extension for VS Code to run and debug.
- install the Test Explorer extension
- fork and clone this repository and open it in VS Code
- run
npm install
- run
npm run watch
or start the watch Task in VS Code - start the debugger
You should now see a second VS Code window, the Extension Development Host. Open a folder in this window and click the "Test" icon in the Activity bar. Now you should see the test suite in the side panel: