You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@codehaus.org> on 2015/01/04 15:04:10 UTC

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

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

Tibor Digana closed SUREFIRE-646.
---------------------------------

    Resolution: Duplicate

We will fix properties in 3.0. The property -DskipTests will become -Dsurefire.skipTests and -Dfailsafe.skipTests.

> Overlapping -D's for surefire and failsafe make it hard to control combination
> ------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-646
>                 URL: https://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 was sent by Atlassian JIRA
(v6.1.6#6162)