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 result icon doesn't change in "Test" panel after run test on test method #7618

Closed
xiaofeng0123 opened this issue Sep 26, 2019 · 3 comments
Labels
area-testing bug Issue identified by VS Code Team member as probable bug regression Bug didn't exist in a previous release

Comments

@xiaofeng0123
Copy link

xiaofeng0123 commented Sep 26, 2019

VS Code version: 1.39.0-insider
Python-insider:2019.10.38352-dev

Expected behaviour
The result icon should update when run test

Actual behaviour
The result icon doesn't update after run test on test method
image

Steps to reproduce:

  1. Input below code:
import unittest
class PassingTests(unittest.TestCase):
    def test_passing(self):
        self.assertEqual(42, 42)
    def test_passing_still(self):
        self.assertEqual("silly walk", "silly walk")
class FailingTests(unittest.TestCase):
    def test_failure(self):
        self.assertEqual(42, -13)
    def test_failure_still(self):
        self.assertEqual("I'm right!", "no, I am!")
  1. Select "unittest" as test framework
  2. Click "Run Test" on a test method
  3. The result icon is changed to image
  4. Do "Discover Tests" or "Run All Tests" or "Run Test" on method
  5. Check the result icon

Repro movie:
test panel.zip

@xiaofeng0123 xiaofeng0123 added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Sep 26, 2019
@ericsnowcurrently
Copy link
Member

also see #7586

@ericsnowcurrently
Copy link
Member

@xiaofeng0123, thanks for letting us know about this. We've been able to reproduce the problem and are going to investigate further.

@ericsnowcurrently ericsnowcurrently added area-testing regression Bug didn't exist in a previous release and removed triage-needed Needs assignment to the proper sub-team labels Sep 26, 2019
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Sep 26, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Sep 26, 2019
@luabud luabud closed this as completed Nov 5, 2019
@luabud
Copy link
Member

luabud commented Nov 5, 2019

Closing in favour of #7898

@ghost ghost removed the needs PR label Nov 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 12, 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 regression Bug didn't exist in a previous release
Projects
None yet
Development

No branches or pull requests

3 participants