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:41:21 UTC

[jira] (SUREFIRE-862) excludedGroups property does not work with JUnit

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

Kristian Rosenvold closed SUREFIRE-862.
---------------------------------------

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

Added checks for various conditions that can cause "groups" to go ignored in r1374642. Also added explicit IT for excludedgroups
                
> excludedGroups property does not work with JUnit
> ------------------------------------------------
>
>                 Key: SUREFIRE-862
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-862
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.12
>         Environment: Windows, Maven 3.0.3
>            Reporter: Rene Grohmann
>            Assignee: Kristian Rosenvold
>             Fix For: 2.13.0
>
>
> If i use the groups property in my maven configuration everything works how expected. The plugin only selects the tests with the specific category. On the other Hand, if i use the excludedGroups property the plugin could not find any tests to run.
> <plugin>
>   <artifactId>maven-surefire-plugin</artifactId>
>   <version>2.11</version>
>   <dependencies>
>     <dependency>
> 	<groupId>org.apache.maven.surefire</groupId>
>         <artifactId>surefire-junit47</artifactId>
>         <version>2.12</version>
>     </dependency>
>   </dependencies>
>   <configuration>							
>     <excludedGroups>de.test.junit.categories.IntegrationTest</excludedGroups>
>   </configuration>
> </plugin>

--
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