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 99743 - Improve discoverability of Create JUnit Tests action
Summary: Improve discoverability of Create JUnit Tests action
Status: RESOLVED DUPLICATE of bug 143835
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: junit-issues@java
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2007-04-03 04:38 UTC by _ tboudreau
Modified: 2009-03-27 12:20 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch to move action to top level menu of java editor & java files and remove tools action (3.00 KB, patch)
2007-04-03 05:29 UTC, _ tboudreau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2007-04-03 04:38:32 UTC
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.
Comment 1 _ tboudreau 2007-04-03 05:29:17 UTC
Created attachment 40290 [details]
Patch to move action to top level menu of java editor & java files and remove tools action
Comment 2 _ tboudreau 2007-04-03 05:31:04 UTC
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)
Comment 3 Alexei Mokeev 2009-03-27 12:20:25 UTC
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 ***