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

Test results view output not always following selection in tree #22336

Closed
aeschli opened this issue Oct 25, 2023 · 1 comment
Closed

Test results view output not always following selection in tree #22336

aeschli opened this issue Oct 25, 2023 · 1 comment
Assignees
Labels
area-testing info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@aeschli
Copy link

aeschli commented Oct 25, 2023

Testing #22291

Have

class TestView(unittest.TestCase):
    def test_success(self):
        assert True   

    def test_failure1(self):
        assert False

    def test_failure2(self):
        assert 1 == 2               

Run the the tests.

Note that the test rust view shows some information about the run
(Running tests (unittest): /home/martin/workspaces/testing/custom-data/inc_dec_example_repo/i....)
and adds new nodes to the test result tree.

Clicking on the node in the tree updates the output, but only for the failed test runs. I find that quite inconsistent and confusing.
Peek 2023-10-25 09-02

IMO

  • it should also update when selecting a successful run. E.g. it could just clear the output
  • it should show the test run information when clicking on a test run
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 25, 2023
@eleanorjboyd
Copy link
Member

This is also something I had found confusing. Since it is on core I filed this issue: microsoft/vscode#193589, with that being one of the asks. I also suggested clearing the output panel when the user clicks on successful tests but I think adding the test run info would be useful too. Thanks!

@eleanorjboyd eleanorjboyd closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2023
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Oct 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants