forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-testingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Looks like the activate() method below is always associated with the language server, and is not called if there is no language server being used
vscode-python/src/client/testing/main.ts
Line 94 in 64cb49a
| public async activate(symbolProvider: DocumentSymbolProvider): Promise<void> { |
(The language server provides the symbol provider which is used to get codelenses. But having codelenses isn't necessary for testing frameworks to work.)
This means that none of the commands related to testing (python.discoverTests etc.) are registered and testing doesn't work.
Metadata
Metadata
Assignees
Labels
area-testingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded