Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.12
-
Fix Version/s: 2.12.3
-
Component/s: Maven Surefire Plugin
-
Labels:None
-
Environment:Windows, Maven 3.0.3
-
Complexity:Intermediate
-
Number of attachments :
Description
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>
Added checks for various conditions that can cause "groups" to go ignored in r1374642. Also added explicit IT for excludedgroups