The pytest icons keep spinning when run Test Method. #13285
Copy link
Copy link
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



Activity
karrtikr commentedon Aug 10, 2020
Thanks for the bug report! We just wanted to quickly acknowledge we can confirm the issue.
luabud commentedon Jul 29, 2021
I couldn't reproduce this with #16769. It also removes the actions on the status bar to run all tests (instead that can be done through the command "Tests: Run all tests" or through the test explorer