This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I apologize but I don't know the proper component/subcomponent for this one. Also Andrei please add to the description if I misunderstood you. In Andrei's project their test suites do not end with "Tests" but only with "Test". The IDE is confused in such case.
It is the other way around. Our test suites end with "Tests" but NetBeans expects them to end with "Test".
Additional background information (surefire upstream, about junit 5, etc): https://issues.apache.org/jira/browse/SUREFIRE-1260 I'm also seeing this, since a lot of Spring projects use the "**/*Tests.java" suffix, which is configured in the maven-surefire-plugin, but not picked up by NetBeans. This way, shortcuts like "Go to Test/Tested class" do not work.
I only now noticed that this is a very old bug, but as it will need (be expected) to be supported, I'll not open a new one that is going to be closed as duplicate.