microsoft / microsoft/vscode-dotnettools

Test workflow in C#DK has problems compared to C# vanilla test workflow

Open
#2,190 1 comment 1 reaction 1 assignee View on GitHub

@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:

  1. It steals my bottom pane focus from the output window (where I can actually see the test output) to a terminal window.
Image
  1. The terminal window now overlaps my existing terminal, so my terminal is now hidden too and I have to press an additional key.
    1. 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.
  2. Errors don't appear unless I click on the failure in the test explorer pane (which was not open).
  3. 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.
Image
  1. 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.
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.