You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/05/13 14:56:22 UTC
[jira] Commented: (SUREFIRE-723) All tests are executed when
-Dtest= option is specified
[ http://jira.codehaus.org/browse/SUREFIRE-723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=266621#action_266621 ]
Kristian Rosenvold commented on SUREFIRE-723:
---------------------------------------------
The change is probably real, but as Olivier points out there's a more appropriate way of achieving this effect.
So even though the semantics of an empty test expression seem to have changed from "include none" to "include all", I will be proposing this as won't fix. Feel free to suggest why not.
> All tests are executed when -Dtest= option is specified
> -------------------------------------------------------
>
> Key: SUREFIRE-723
> URL: http://jira.codehaus.org/browse/SUREFIRE-723
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 2.8
> Environment: Kubuntu 10.10
> Maven 2.2.1
> Reporter: Sami Nieminen
>
> Before version 2.8 it was possible to generate the test jar packages without actually running the unit tests by specifying the option -Dtest= (mvn install -Dtest=). This has changed with 2.8 since now this option doesn't seem to have any effect, i.e. all the tests are executed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira