Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

TylerLeonhardt/vscode-pester-test-adapter

Repository files navigation

Pester Test Adapter for Visual Studio Code

⚠️ This extension is now deprecated in favor of the extension provided by the Pester team: https://github.com/pester/vscode-adapter ⚠️

logo

This repository contains a Pester implementation of a TestAdapter extension that works with the Test Explorer extension for Visual Studio Code.

screenshot

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.

Local development

  • 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: