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...@apache.org> on 2018/12/09 19:50:00 UTC

[jira] [Commented] (SUREFIRE-823) Surefire needs distinct (from failsafe) test skip

    [ https://issues.apache.org/jira/browse/SUREFIRE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714077#comment-16714077 ] 

Tibor Digana commented on SUREFIRE-823:
---------------------------------------

{{skipTests}} will be dropped in Failsafe plugin as it interferes with Surefire plugin. The Failsafe plugin has `skipITs`.

> Surefire needs distinct (from failsafe) test skip
> -------------------------------------------------
>
>                 Key: SUREFIRE-823
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-823
>             Project: Maven Surefire
>          Issue Type: Improvement
>            Reporter: James Nord
>            Priority: Major
>             Fix For: 3.0
>
>
> If you use both surefire and failsafe in the same project there is no way to skip unit tests but run failsafe tests (as the surefire -DskipTests=true flag is also used by failsafe).
> The only way around this is to override the default surefire plugin configuration to change the skipTets property to use a different property - however this is combersome and the project may not belong to you (so each time you need to edit the project locally).
> It would be beneficial if you could somehow bypass surefire unit tests but still run failsafe integration tests via the lifecycle.
> (ie not using the goals directly as there may be some code gen or other that is needed in an eralier phase)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)