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.

Bug 155545 - Allow the test suite not to end with "Tests" suffix.
Summary: Allow the test suite not to end with "Tests" suffix.
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2008-12-16 12:15 UTC by David Strupl
Modified: 2016-08-21 11:52 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2008-12-16 12:15:06 UTC
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.
Comment 1 Andrei Badea 2008-12-16 13:09:24 UTC
It is the other way around. Our test suites end with "Tests" but NetBeans expects them to end with "Test".
Comment 2 Shredder_121 2016-08-21 11:51:01 UTC
Additional background information (surefire upstream, about junit 5, etc):

I'm also seeing this, since a lot of Spring projects use the "**/*" 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.
Comment 3 Shredder_121 2016-08-21 11:52:55 UTC
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.