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.
Summary: | run test option not available for single files for maven project | ||
---|---|---|---|
Product: | projects | Reporter: | bradmac <bradmac> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bradmac
2009-06-17 23:01:48 UTC
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. 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 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 |