Skip to content

command 'python.configureTests' not found #5619

Closed

Description

@starmandeluxe

Environment data

  • VS Code version: 1.33.1
  • Extension version (available under the Extensions sidebar): 2019.4.12954
  • OS and version: MacOS Mojave 10.14.4
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: XXX

Expected behaviour

Should get an additional menu to select and then install the test framework.

Actual behaviour

Error pops up in VS Code at the bottom saying: "command 'python.configureTests' not found"

Steps to reproduce:

  1. Ctrl+Shift+P
  2. Type "Python: Configure Tests"
  3. Click the first option

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

N/A

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

Error: command 'python.configureTests' not found
    at Proxy._tryExecuteCommand (workbench.main.js:sourcemap:3027)
    at r.then.i (workbench.main.js:sourcemap:3027)
    at process._tickCallback (internal/process/next_tick.js:68)

Activity

  1. ghost added
    triage-neededNeeds assignment to the proper sub-team
    on May 13, 2019
  2. karrtikr commented on May 14, 2019

    @karrtikr

    Unfortunately, I am not able to reproduce this error.

    Please ensure the extension has activated by opening a python file. Also please try removing .vscode, restart VSCODE, re-installing extension to see if that works.

  3. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on May 16, 2019
  4. starmandeluxe commented on May 17, 2019

    @starmandeluxe
    Author

    Kartik Raj (@karrtikr) I performed the actions you recommended and there was no difference in behavior:

    vscodepythonconfigtestsnotfound

    The error still shows, but if I click on the top notification I am able to choose a test framework, however it still does not find my test even though I have a valid unit test file in my directory.

  5. DonJayamanne commented on May 17, 2019

    @DonJayamanne

    Please could you provide:

    • The contents of your .vscode/settings.json file
    • Sample repo so we can repro this issue at our end
    • Open Python Test Log output panel and let us know what you see there
  6. Cetlan commented on May 22, 2019

    @Cetlan
  7. DonJayamanne commented on May 22, 2019

    @DonJayamanne
  8. Cetlan commented on May 22, 2019

    @Cetlan
  9. DonJayamanne commented on May 22, 2019

    @DonJayamanne
  10. DonJayamanne commented on Jun 17, 2019

    @DonJayamanne

    Closing this issue as its been over 4 weeks, since the information was requested.
    We'll be happy to reopen the issue when the requested information has been provided.

  11. ghost removed on Jun 17, 2019
  12. locked as resolved and limited conversation to collaborators on Jun 24, 2019
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 buginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions