Skip to content
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

The pytest icons keep spinning when run Test Method. #13285

Closed
linette-zyy opened this issue Aug 5, 2020 · 2 comments · Fixed by #16769
Closed

The pytest icons keep spinning when run Test Method. #13285

linette-zyy opened this issue Aug 5, 2020 · 2 comments · Fixed by #16769
Labels
area-testing bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@linette-zyy
Copy link

Environment data

  • VS Code version:
    image
  • Extension version (available under the Extensions sidebar):
    image

Steps to reproduce:

  1. Launch VSC and create python file named pytest_test.py
    a. Clear the part of workspace configuration in setting.json
  2. Enter below code
def test_passing():
    	assert 42 == 42
def test_failure():
    	assert 42 == -13
  1. 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)
  2. Click status bar and choose "Run Test Method"
  3. Choose test_failure

Actual behaviour

image

@linette-zyy linette-zyy added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Aug 5, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Aug 5, 2020
@karrtikr
Copy link

Thanks for the bug report! We just wanted to quickly acknowledge we can confirm the issue.

@karrtikr karrtikr removed their assignment Aug 10, 2020
@luabud
Copy link
Member

luabud commented 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

@luabud luabud added the verified Verification succeeded label Jul 29, 2021
@karthiknadig karthiknadig added this to the August 2021 milestone Aug 5, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 15, 2021
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants