Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 914 Bytes

File metadata and controls

22 lines (13 loc) · 914 Bytes

VSCode Watcher Tasks for Pester

These tasks uses VSCode Watcher Tasks to watch for file system changes to auto trigger Pester tests.

Tasks

  • Watch.Project: Runs all tests if any ps1 in the project is modified.
  • Watch.Project.Single: Runs the Test for any modified file in module directory or Test in Tests directory.
  • Watch.Tests: Runs all tests if any Test in the project is modified.
  • Watch.Tests.Single: Runs the Test for any modified Test.

Watcher Runs all Tests

watchproject

Watcher Runs only Tests for edited file

watchtestssingle

Issues

Currently, the Tasks that run single tests will overwrite any unresolved issues previously found. I have filed a feature request to improve this behavior.