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: | Test execution breaks with surefire 2.19 | ||
---|---|---|---|
Product: | projects | Reporter: | everflux <everflux> |
Component: | Maven | Assignee: | Theofanis Oikonomou <theofanis> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | AlyonaStashkova |
Priority: | P2 | Keywords: | RELNOTE |
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
everflux
2015-10-27 17:36:39 UTC
Might be related to https://issues.apache.org/jira/browse/SUREFIRE-983 The surefire bug is reported here, although the maintainer insists it is a "wish": https://issues.apache.org/jira/browse/SUREFIRE-1191 The maintainer appears to have no intention of fixing the issue. He insists the proper behavior is for the test name not to be a class name, but a path name to a java file. However, as I commented in that issue, the support for using a test name in class name format has been supported on all versions of surefire between 2.4 and 2.18. Only in 2.19 has this feature been dropped. In diffing 2.18.1 to 2.19, there have been considerable changes made to the implementation. Apparently these changes were of such a nature that the maintainer feels it would be too onerous a change to support specifying the test as a class name again. The attitude of the surefire maintainer is indeed quite unique and egocentric. Perhaps a note in the release notes would help to prevent other netbeans users to struggle with this. (Took me hours to find the culprit and was a really bad experience.) I assume there is nothing that can be done in netbeans, so I suggest to close as wontfix. (In reply to everflux from comment #3) > > I assume there is nothing that can be done in netbeans, so I suggest to > close as wontfix. you are correct. Until this is fixed on surefire's side in 3.0 surefire 2.18 should be used. Thank you for tracking this down and for your comments on that bug/wish :) Please add a note to the Netbeans 8.1 release notes regarding this known issue, thank you. ( https://netbeans.org/community/releases/81/relnotes.html#known_issues ) (In reply to everflux from comment #5) > Please add a note to the Netbeans 8.1 release notes regarding this known > issue, thank you. > > ( https://netbeans.org/community/releases/81/relnotes.html#known_issues ) Alyona, could you please add this to relnotes? Thank you In the mean time issue https://issues.apache.org/jira/browse/SUREFIRE-1191 is marked as fixed. You should now be able to update to version 2.19.1 of the plugin. Quite annoying; I cannot find version 2.19.1 of surefire-plugin. Downgrading to 2.18 helps. 2.19.1 is not yet released, unfortunately. FYI: 2.19.1 is finally released. I did not yet test if the regression is fixed, though, but the surefire bug is mentioned as fixed in the release notes. |