Add workspace root to test explorer tree for multi-root scenario #22168
Labels
area-testing
feature-request
Request for new features or functionality
needs community feedback
Awaiting community feedback
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 atests
folder per workspace to then just be displayed as such:the desired test explorer view would instead be:
The text was updated successfully, but these errors were encountered: