Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-862

excludedGroups property does not work with JUnit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.12
    • 2.12.3
    • Maven Surefire Plugin
    • None
    • Windows, Maven 3.0.3

    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>

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            rene-g Rene Grohmann
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: