forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Code lenses for tests not showing up when test is defined on line 1 #3062
Labels
area-testing
bug
Issue identified by VS Code Team member as probable bug
verified
Verification succeeded
Milestone
Comments
brettcannon
added
bug
Issue identified by VS Code Team member as probable bug
needs PR
area-testing
labels
Oct 30, 2018
What's in your settings.json? |
Used the test setup flow and chose '.' as the test location. |
"python.unitTest.pyTestArgs": [
"."
],
"python.unitTest.unittestEnabled": false,
"python.unitTest.nosetestsEnabled": false,
"python.unitTest.pyTestEnabled": true |
Turns out that the code lens will show up as long as the test definition does not start on line 1. |
brettcannon
changed the title
Code lenses for tests not showing up for pytest
Code lenses for tests not showing up when test is defined on line 1
Nov 1, 2018
Fixed by #16769, we don't have code lenses anymore, and the new test icons show up even if the test is defined on the first line: |
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
verified
Verification succeeded
Debug console output:
The text was updated successfully, but these errors were encountered: