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

Add workspace root to test explorer tree for multi-root scenario #22168

Closed
eleanorjboyd opened this issue Oct 6, 2023 · 2 comments
Closed

Add workspace root to test explorer tree for multi-root scenario #22168

eleanorjboyd opened this issue Oct 6, 2023 · 2 comments
Assignees
Labels
area-testing feature-request Request for new features or functionality needs community feedback Awaiting community feedback

Comments

@eleanorjboyd
Copy link
Member

Comes from this discussion: #22125 (reply in thread).

The issue is that in multi-root workspace where the "--rootdir", "${workspaceFolder}/tests" arg exists or the "python.testing.cwd": "${workspaceFolder}/tests", exists then the root is not the root of the multiroot workspace and therefore the root node on the test explorer is the defined rootdir instead of the root of the workspace. This leads to multiple workspace where it is has a tests folder per workspace to then just be displayed as such:

  • tests
    • test_1
    • test_2
    • test_3
  • tests
    • tests_a
    • tests_b
    • tests_c

the desired test explorer view would instead be:

  • workspace 1
    • tests
      • test_1
      • test_2
      • test_3
  • workspace 2
    • tests
      • tests_a
      • tests_b
      • tests_c
@eleanorjboyd eleanorjboyd added feature-request Request for new features or functionality area-testing labels Oct 6, 2023
@eleanorjboyd eleanorjboyd self-assigned this Oct 6, 2023
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 6, 2023
@eleanorjboyd eleanorjboyd removed the triage-needed Needs assignment to the proper sub-team label Oct 6, 2023
@eleanorjboyd eleanorjboyd added the needs community feedback Awaiting community feedback label Dec 20, 2023
Copy link

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

@brettcannon
Copy link
Member

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.

@brettcannon brettcannon closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing feature-request Request for new features or functionality needs community feedback Awaiting community feedback
Projects
None yet
Development

No branches or pull requests

2 participants