forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-testingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Environment data
Steps to reproduce:
- Launch VSC and create python file named pytest_test.py
a. Clear the part of workspace configuration in setting.json - Enter below code
def test_passing():
assert 42 == 42
def test_failure():
assert 42 == -13
- Run command: "Run All Unit Tests", ensure:
a. triggers the prompt to configure the test runner, select pytest
pytest gets installed
b. Tests are discovered (as shown by code lenses on each test) - Click status bar and choose "Run Test Method"
- Choose test_failure
Actual behaviour
Metadata
Metadata
Assignees
Labels
area-testingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded