Describe the Issue
I have an xUnit (3.2.2) unit test project containing two tests that should fail and multiple theories with skipped tests. When running tests with dotnet test, the results appear as expected. When rolled back to C# Dev Kit extension version 3.10.14, the UI and results appear as expected.
When using the "Testing" panel/tree and its UI buttons in version 3.20.199:
- The "Refresh Tests" button and "Test: Refresh Tests" command are both missing.
- New tests are discovered on build, but old tests aren't removed from the tree/list and are marked "skipped" when tests are run
- Serialized theory data (IXunitSerializable) are not grouped by theory in the tree
- Theory data that should be skipped output "⚠️ ERROR: ExampleTest() - Test could not be run." in "Test Results", are marked as "errored" in the tree, and are reported as "skipped" in the Test Run Summary in "Test Results".
- The two tests that should fail are marked "skipped" and reported as "skipped" in the Test Run Summary.
Seems similar and may be related to #3188
Steps To Reproduce
Run skipped or failing xUnit tests using version 3.20.199 of the C# Dev Kit.
Expected Behavior
The testing panel should function properly - refresh button should not be missing, theory data should be grouped, and tests should report proper results.
Environment Information
- OS Version: Windows 11 25H2
- VS Code Version: 1.123.1
- Extension Version: 3.20.199
Describe the Issue
I have an xUnit (3.2.2) unit test project containing two tests that should fail and multiple theories with skipped tests. When running tests with
dotnet test, the results appear as expected. When rolled back to C# Dev Kit extension version 3.10.14, the UI and results appear as expected.When using the "Testing" panel/tree and its UI buttons in version 3.20.199:
Seems similar and may be related to #3188
Steps To Reproduce
Run skipped or failing xUnit tests using version 3.20.199 of the C# Dev Kit.
Expected Behavior
The testing panel should function properly - refresh button should not be missing, theory data should be grouped, and tests should report proper results.
Environment Information