You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2010/09/13 19:34:32 UTC

[jira] Created: (SUREFIRE-646) Overlapping -D's for surefire and failsafe make it hard to control combination

Overlapping -D's for surefire and failsafe make it hard to control combination
------------------------------------------------------------------------------

                 Key: SUREFIRE-646
                 URL: http://jira.codehaus.org/browse/SUREFIRE-646
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Failsafe Plugin, Maven Surefire Plugin
    Affects Versions: 2.6
            Reporter: Benson Margulies


I have a project with both surefire unit tests and failsafe integration tests. This works until I try to start controlling things from command line.

1. Both plugins respect -DskipTests. failsafe has skipITs, but surefire does not seem to have a corresponding property that just skips the unit tests, not the integration tests.

2. When I use -Dtest= and specify an integration test, SUREFIRE runs it before failsafe gets a chance, and of course it fails because the pre-integration-test phase hasn't set up.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SUREFIRE-646) Overlapping -D's for surefire and failsafe make it hard to control combination

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold updated SUREFIRE-646:
----------------------------------------

    Issue Type: New Feature  (was: Bug)

> Overlapping -D's for surefire and failsafe make it hard to control combination
> ------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-646
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-646
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Failsafe Plugin, Maven Surefire Plugin
>    Affects Versions: 2.6
>            Reporter: Benson Margulies
>
> I have a project with both surefire unit tests and failsafe integration tests. This works until I try to start controlling things from command line.
> 1. Both plugins respect -DskipTests. failsafe has skipITs, but surefire does not seem to have a corresponding property that just skips the unit tests, not the integration tests.
> 2. When I use -Dtest= and specify an integration test, SUREFIRE runs it before failsafe gets a chance, and of course it fails because the pre-integration-test phase hasn't set up.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira