Run Invoke-Pester
on tests.ps1 file using right-click context menu on file tab and/or shortcut
#1667
Labels
Issue-Enhancement
A feature request (enhancement).
Summary of the new feature
As a user, I quite often want to run ALL Pester tests of a
tests.ps1
file but I have either multipleDescribe
blocks or don't want to scroll up and down to run tests. I then use theCopy Path
context menu on the file tab just to runInvoke-Pester
on that in the console.Proposed technical implementation details (optional)
If the file ends in
tests.ps1
(case insensitive lookup), then a context menu on the file tab should be there that saysRun Pester Tests
andDebug Pester Tests
and under the hood it just callsInvoke-Pester -Path
with the full path of the file in the integrated PowerShell console. A keyboard shortcut for this would be cool as well.The text was updated successfully, but these errors were encountered: