pester / vscode-adapter

Run PowerShell Pester Tests with Visual Studio Code
MIT License
58 stars 14 forks source link

`powershell.pester.codeLens`: Unfortunately, the property name does not say what it does #128

Closed schittli closed 1 year ago

schittli commented 1 year ago

Good evening

I am trying to understand a bug in a complex Pester project and stumbled upon the property powershell.pester.codeLens. It is a pity that the property name was not chosen so that the name explains what we change if we modify it.

Therefore, I have this question: What is powershell.pester.codeLens doing? If it is 'true',

Thanks a lot for any light 😃 kind regards, Thomas

johlju commented 1 year ago

When it is set to true, or not configured, it will enable the code lens "Run test | Debug test" above Describe-, Context- and It-blocks. Works best with Pester 5.

image