Closed
Description
Given the following foo.tests.ps1
file:
describe "foo" {
It "bar" {
}
}
The VS-Code extension does not show the code lens shows Run tests/Debug tests
only if the describe
keyword starts with an upper case, Pester does not require that. Using the latest version of the PowerShell extension (1.10.1) and code-insiders 1.31.0
I suspect that PesterKeywords.TryGetValue(commandName, out pesterCommandType)
below is case sensitive, the dictionary should be initialized using StringComparer.OrdinalIgnoreCase
https://github.com/PowerShell/PowerShellEditorServices/blob/master/src/PowerShellEditorServices/Symbols/PesterDocumentSymbolProvider.cs#L203
Metadata
Metadata
Assignees
Labels
No labels