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 2012/08/18 21:45:22 UTC

[jira] (SUREFIRE-849) Properites groups and excludedGroups do not enable JUnit47 provider

     [ https://jira.codehaus.org/browse/SUREFIRE-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed SUREFIRE-849.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.13.0
         Assignee: Kristian Rosenvold

Added failure conditions for some states that may cause groups to be silently ignored in r1374642. Also added ITs for all the cases mentioned inthis issue
                
> Properites groups and excludedGroups do not enable JUnit47 provider
> -------------------------------------------------------------------
>
>                 Key: SUREFIRE-849
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-849
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.x support
>    Affects Versions: 2.12
>            Reporter: Marcin Kuthan
>            Assignee: Kristian Rosenvold
>             Fix For: 2.13.0
>
>
> I'm trying to define {{groups}} or {{excludeGroups}} for JUnit execution. When I define property, JUnit4 provider is used, and the groups are ignored. To enable group support I have to define {{parallel}} parameter or define JUnit47 provider explicitly as plugin dependency.
> The plugin documentation is also inconsistent. The following goals documentation defines, that JUnit47 provider will be enabled: 
> [http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#groups]
> [http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#excludedGroups]
> But on [http://maven.apache.org/plugins/maven-surefire-plugin/examples/junit.html], the formula for provider selection define only {{parallel}} parameter. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira