microsoft / microsoft/vscode-dotnettools
Test workflow in C#DK has problems compared to C# vanilla test workflow
Open
@claudiaregio is already working on this.
Since Aug 6, 2025.
area-test
- Dominant language
- No language data
- Stars
- 321
- Forks
- 54
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Description
The problems are all based around how C#DK runs tests vs how C# vanilla runs tests.
When I use the C#DK icon to run a test, it does a build in the terminal, then runs the test in a background window. This is pathological in a couple ways:
- It steals my bottom pane focus from the output window (where I can actually see the test output) to a terminal window.
- The terminal window now overlaps my existing terminal, so my terminal is now hidden too and I have to press an additional key.
- Except that I ran the test in the ide, so the editor has my focus, so I can't press a key, because the key goes to the editor not the terminal.
- Errors don't appear unless I click on the failure in the test explorer pane (which was not open).
- When I click on it, it shows an inline view of the error, but it jumps to the location of the thrown exception, which in this case is in a separate file because it's part of a helper function.
- The inline view is actually worse than the terminal output window. Normally the terminal output window recognizes file paths and offers to jump to them on ctrl+click. The test explorer inline view doesn't have this feature, so even though the actual location of the failure is in the error message, I can't jump to it with ctrl+click.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.