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.
We've recently had user feedback that they've had trouble figuring out how to create unit tests. Two simple things can be done: - Add it to the editor popup menu - Move it out of the Tools submenu of Java nodes and into the main popup for them I think the only reason it's on the Tools menu is because the action code is very old.
Created attachment 40290 [details] Patch to move action to top level menu of java editor & java files and remove tools action
Patch to move the action attached. Note when running the unit tests I got a failure from XmlOutputParserTest - appears to be completely unrelated to the patch: testGetStackTrace (java.lang.NoSuchMethodException: org.netbeans.modules.junit.output.XmlOutputParser.getStackTrace(java.lang.String)
The most recent discussion about this is in 143835. Unfortunately this is not resolved yet. *** This issue has been marked as a duplicate of 143835 ***