maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-868) Add skipUnits property to Surefire Plugin
Date Fri, 02 Jan 2015 19:43:10 GMT

    [ https://jira.codehaus.org/browse/SUREFIRE-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=360563#comment-360563
] 

Tibor Digana commented on SUREFIRE-868:
---------------------------------------

The problem is that skipTests use the same (system) property and therefore cannot differentiate
between surefire/failsafe without adding prefix. The prefix surefire|failsafe.skipTests will
be added in 3.0.
{code}@Parameter( property = "skipITs" ){code}

> Add skipUnits property to Surefire Plugin
> -----------------------------------------
>
>                 Key: SUREFIRE-868
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-868
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.12
>            Reporter: John Dobie
>            Priority: Minor
>
> The failsafe plugin allows its tests to be skipped using the skipITs property.
> It would be very useful to have a skipUnits property defined in the same way for the
surefire plugin. 
> At the moment to skip the surefire tests you have to use a form of skip or skipTest which
also causes the failsafe tests to stop running.
> With the new parameter it would be easy to run either, both or none.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message