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.
Right click context menu on test classes shows the "Run File" option as disabled. However, running Test on the project context menu works correctly. Notes: - i'm using the minimal download of 6.7RC2 - i tried using the checkstyle and coverage plugins, now uninstalled - the project uses junit annotations, but i also tried a test class which extended TestCase and still no Run File option - when opening the same project with 6.5 it works fine - i tried disabling compile on save but didnt help
in 6.7 the Run action applies only to classes with main method, tests are executed with the Test File action. closing as worksforme, please reopen if Test file action is also disabled.
Just tested again. Different project and with a fresh install of Netbeans 6.7 RC3. When i right click on a test class i get a context menu with 'Run File', 'Debug File' and 'Run into Method' but no 'Test File' menu item. However, the 'Test File' option is available from the menu bar, so i can run the tests The project uses junit 3.8.1, and the test classes are extending the junit TestCase class, not using annotations (if that makes a difference) Please add 'Test File' to the right click context menu.
http://hg.netbeans.org/main/rev/4f26774c8f11
Integrated into 'main-golden', will be available in build *200906230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4f26774c8f11 User: Milos Kleint <mkleint@netbeans.org> Log: #167267 sync the popup in editor with the popup in explorer
v.
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/0e5637a50309
Product Version: NetBeans IDE 6.7.1 RC (Build 200907150227) Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) Verified in 6.7.1 RC