Skip to content

Any functionality related to testing doesn't work if language server is set to none #13713

Closed

Description

@karrtikr

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

public async activate(symbolProvider: DocumentSymbolProvider): Promise<void> {

image

(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.

Activity

  1. added
    bugIssue identified by VS Code Team member as probable bug
    triage-neededNeeds assignment to the proper sub-team
    on Sep 1, 2020
  2. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Sep 1, 2020
  3. luabud commented on Jul 29, 2021

    @luabud
    Member

    This is fixed by #16769 🥳

  4. locked as resolved and limited conversation to collaborators on Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testingbugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions