Test Explorer shows excess class name for tests with multiple TestCaseAttribute
See original GitHub issueLook at UnitTests1.Test_3. What is that class name for? Is it bug or feature?

public class UnitTests1 {
[TestCase( 0 )]
public void Test_1(int id) {
}
[Test]
public void Test_2() {
}
[TestCase( 666 )]
[TestCase( 777 )]
public void Test_3(int id) {
}
//[TestCase( null )]
//public void Test_3(string id) {
//}
[Test]
public void Test_4() {
}
[Test]
public void Test_5() {
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (9 by maintainers)
Top Results From Across the Web
Test Explorer shows excess class name for tests ...
The problem is that the NUnit tests below look different in the hierarchy in Test Explorer from VS version 16.2.0 Preview 1.0 -...
Read more >Get VS Test Explorer to show only test name not full type ...
For me, normal tests are showing the method name, but tests with multiple TestCase() are showing the fully qualified namespace and name. This ......
Read more >Run unit tests with Test Explorer - Visual Studio (Windows)
Test Explorer can run tests from multiple test projects in a solution and from test classes that are part of the production code...
Read more >Adapter V3 Release Notes
NUnit3 Test Adapter for Visual Studio - Version 3.17.0 - July 11, 2020 ... 644 Test Explorer shows excess class name for tests...
Read more >Getting Started with Unit Testing in Visual Studio 2022 - nUnit
Hey Programmers, In this episode, I am showing how you can get started with Unit Testing for your .NET projects. Unit Testing is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The issue can be found at https://developercommunity.visualstudio.com/content/problem/681593/test-explorer-shows-excess-class-name-for-tests-wi.html
I checked this now with VS 16.3.4 and adapter 3.13, and it looks right.
I also can’t detect any change with updating to 3-16.0-dev This looks like it was a bug in the Test Explorer, so I close it for now.