Skip to content

Python: Configure Tests command not found #22783

Closed

Description

@joyceerhl
  1. Clone https://github.com/eleanorjboyd/inc_dec_example_repo
  2. Open it in VS Code
  3. Run Python: Configure Tests without first opening any Python files
  4. 🐛 Python: Configure Tests resulted in an error

image

Activity

  1. eleanorjboyd commented on Jan 25, 2024

    @eleanorjboyd

    Karthik Nadig (@karthiknadig), should we remove this command before the extension starts?

  2. karthiknadig commented on Jan 25, 2024

    @karthiknadig
    Member

    Is this registered in package.json? If yes then this should have activated the extension before running. If not then we need to add it there, because we uses this in debug welcome view.

  3. eleanorjboyd commented on Jan 25, 2024

    @eleanorjboyd

    Karthik Nadig (@karthiknadig) I see it in the package.json here:

    vscode-python/package.json

    Lines 348 to 352 in d10b2f7

    {
    "category": "Python",
    "command": "python.configureTests",
    "title": "%python.command.python.configureTests.title%"
    },

  4. eleanorjboyd commented on Apr 25, 2024

    @eleanorjboyd

    Karthik Nadig (@karthiknadig) following up on above, is that the right location and if so any other thoughts on what could be going wrong?

  5. karthiknadig commented on May 2, 2024

    @karthiknadig
    Member

    We need to look at where the command gets registered via commands.registerCommand API. I think it is not getting set early enough.

  6. dcx commented on May 21, 2024

    @dcx

    +1, I'm having this issue on macOS:

    image
  7. github-actions commented on Jun 20, 2024

    @github-actions

    Hey Eleanor Boyd (@eleanorjboyd), this issue might need further attention.

    Joyce Er (@joyceerhl), you can help us out by closing this issue if the problem no longer exists, or adding more information.

  8. github-actions commented on Jul 29, 2024

    @github-actions

    Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

    Happy Coding!

  9. modified the milestones: , December 2025 on Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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