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: | JUnit's re-run button does nothing for Maven projects | ||
---|---|---|---|
Product: | projects | Reporter: | rdelaplante <rdelaplante> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
rdelaplante
2009-05-28 00:57:20 UTC
Rerun handler should be implemented on the maven side. If you see the button enabled then maven registered RerunHandler implementation and it returns true for enabled() method. Looks like there is an issue with rerun() method implementation. Reassign to maven for evaluation. When I right click a failed test and click Run Again, it works. When I click the green arrow buttons on the left to rerun, nothing happens. When I try the green rerun button in a tiny project with only one junit test class, it works fine. The project that is having problems has hundreds of tests. I'm happy to see you have a fix... that must mean you were able to duplicate my problem and verify the solution? Integrated into 'main-golden', will be available in build *200906300200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1356f03780ac User: Milos Kleint <mkleint@netbeans.org> Log: #166143 order is important v. The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/c198b67340e6 Product Version: NetBeans IDE 6.7.1 RC (Build 200907162301) 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 |