[Testing] Allow test runs to run tests outside of the original scope #213182
Labels
bug
Issue identified by VS Code Team member as probable bug
insiders-released
Patch has been released in VS Code Insiders
testing
Built-in testing support
verified
Verification succeeded
Milestone
Does this issue occur when all extensions are disabled?: No
Context
We have a notion of project/test dependencies, so when I run a test TEST, I might need to run another SETUP test first. This however is not supported out of the box - if my SETUP test is outside of the scope of TEST, no rendering on its progress happens in the sidebar.
Workaround
The way I work around it is I create a new test run with a root of the workspace in it. Then it reports progress on all the tests.
Side-effect
It has a following side effect though: one "Test run" history entry is created for the original handle invocation and another one is created for my createTestRun
Request
I'd say there are two requests here:
//cc @connor4312
The text was updated successfully, but these errors were encountered: