You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Sprague (JIRA)" <ji...@codehaus.org> on 2013/03/15 19:16:52 UTC

[jira] (SUREFIRE-971) Configuration attributes groups/excludedGroups don't work when running a single test.

Paul Sprague created SUREFIRE-971:
-------------------------------------

             Summary: Configuration attributes groups/excludedGroups don't work when running a single test.
                 Key: SUREFIRE-971
                 URL: https://jira.codehaus.org/browse/SUREFIRE-971
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Failsafe Plugin
    Affects Versions: 2.14
         Environment: OSX 10.8.2, Maven 3.0.4, JDK 1.6.0_37
            Reporter: Paul Sprague
         Attachments: failsafetest.zip

See attachment for an easy demonstration of the issue. There are three executions of the failsafe plugin. Each execution runs a unique selection of tests by using JUnit's @Category feature.

Running following will result in all executions running the test where as a mvn verify would only run the test once.
{code}
mvn -Dtest=com.mycompany.failsafetest.C1Test#testC1_1st verify
{code}

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