pester/vscode-adapter

Button "Go To Test" goes to wrong file, and file has wrong number of code lenses (green checkmarks)

johlju opened this issue · 1 comments

johlju commented

There seems to an issue with how the test files describe-, context, and it-blocks are calculated as can see on the below output.
Opening the test file for test script file Assert-RequiredCommandParameter.Tests.ps1" takes me to the wrong test script file Test-DscParameterState.Tests.ps1`.

PesterTestAdapter-issue#new

It can also be seen that the test file got a lot of the code lenses (correct name for the green checkmarks?) that should not be seen in this file.

PesterTestAdapter-issue#new2