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.
Product Version: NetBeans IDE Dev (Build 200812010201) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.27-9-generic running on i386; UTF-8; en_US (nb) Userdir: /tmp/ud ---------------- the way how can be ran single test class differs across various project types: - in netbeans module project, you can run test by shift-f6 (run file) right from the editor - in java (ant) project, shift-f6 does not work, shows dialog that class does not have main method (ctrl-f6 works) - in maven project, shift-f6 does simply nothing (ctrl-f6 works) IMHO it would be good to unify shortcuts/actions across all project types. From my POV it makes sense to have "run file" (shift-f6) action enabled on test classes, and on source classes which it tests have "test file" (ctrl-f6), which runs test for this class.
Ondro, please comment, thanks.
see issue: http://www.netbeans.org/issues/show_bug.cgi?id=119922 i assume the 119922 needs to be reopened and assigned to apisupport, and then to any other project type out there.
Agreed seems that 119922 would solve the problem and make the behavior consistent.
Richarde, can you take it?
Run/Debug on test file with main method now runs the main method, Run/Debug Test runs tests. Fixed in core-main #aa1547c1d2f6
Integrated into 'main-golden', will be available in build *200902060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8e26b35bf648 User: Richard Michalsky <rmichalsky@netbeans.org> Log: #154358: fixed broken build (missing dependency)
*** Bug 165309 has been marked as a duplicate of this bug. ***
Clearer summary.