C# Dev Kit Test Explorer doesn't run tests - Incorrect format for TestCaseFilter Error: Empty parenthesis ( )

Open
#3,294 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
devtools, testing

Research direction

Start by reviewing the attached csdevkit logs and the Test Explorer path triggered by the Run Tests button or top-level project item. Trace where the empty TestCaseFilter is produced and compare the behavior when running all tests. Done means those actions build and execute the tests without the Empty parenthesis error.

Written by the indexing model from the issue text.

Description

bug
Describe the issue

Clicking the Run Tests button to run all tests, or clicking on the top-level project item in Testing tab builds the tests but does not run them.

In Test explorer I see this error:

[error] Incorrect format for TestCaseFilter Error: Empty parenthesis ( ). Specify the correct format and try again. Note that the incorrect format can lead to no test getting executed

Collect logs

csdevkit-logs-2026-07-09T21-39-30.zip

Steps to reproduce

No response

Expected behavior

No response

Environment information

C# Dev Kit v3.20.199
Version: 1.128.0 (user setup)
Commit: fc3def6774c76082adf699d366f31a557ce5573f
Date: 2026-07-07T15:14:24-07:00
Electron: 42.5.0
ElectronBuildId: 14525058
Chromium: 148.0.7778.271
Node.js: 24.17.0
V8: 14.8.178.33-electron.0
OS: Windows_NT x64 10.0.22631

Dominant language
No language data
Stars
321
Forks
54
Avg merge
2d 19h
Merged PRs (30d)
2

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.

More from microsoft/vscode-dotnettools

All issues in microsoft/vscode-dotnettools

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.