You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Given the following
foo.tests.ps1
file:The VS-Code extension does not show the code lens shows
Run tests/Debug tests
only if thedescribe
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.0I suspect that
PesterKeywords.TryGetValue(commandName, out pesterCommandType)
below is case sensitive, the dictionary should be initialized usingStringComparer.OrdinalIgnoreCase
https://github.com/PowerShell/PowerShellEditorServices/blob/master/src/PowerShellEditorServices/Symbols/PesterDocumentSymbolProvider.cs#L203
The text was updated successfully, but these errors were encountered: