Skip to content

command 'python.configureTests' not found #5619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
starmandeluxe opened this issue May 13, 2019 · 8 comments
Closed

command 'python.configureTests' not found #5619

starmandeluxe opened this issue May 13, 2019 · 8 comments
Assignees
Labels
area-testing bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@starmandeluxe
Copy link

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 (ViewOutput, 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)
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label May 13, 2019
@karrtikr
Copy link

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.

@DonJayamanne DonJayamanne added area-testing info-needed Issue requires more information from poster triage bug Issue identified by VS Code Team member as probable bug labels May 16, 2019
@DonJayamanne DonJayamanne self-assigned this May 16, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label May 16, 2019
@starmandeluxe
Copy link
Author

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

@DonJayamanne
Copy link

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

@Cetlan

This comment has been minimized.

@DonJayamanne

This comment has been minimized.

@Cetlan

This comment has been minimized.

@DonJayamanne

This comment has been minimized.

@DonJayamanne
Copy link

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.

@ghost ghost removed the triage label Jun 17, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants