maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1610) Provide a flag for skipping test execution that isn't shared with Failsafe
Date Sun, 09 Dec 2018 19:33:00 GMT

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

ASF GitHub Bot commented on SUREFIRE-1610:
------------------------------------------

Tibor17 commented on issue #206: SUREFIRE-1610: Add skipUTs flag to SurefirePlugin
URL: https://github.com/apache/maven-surefire/pull/206#issuecomment-445564531
 
 
   You may do it without profile with a little trick in POM `properties` if you define your
naming conventions to skip unit tests and integration tests. Then map `skipTests` in your
property.
   Regarding a common property, it already exists `maven.test.skip`, e.g. `mvn install -Dmaven.test.skip=true`.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Provide a flag for skipping test execution that isn't shared with Failsafe
> --------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1610
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1610
>             Project: Maven Surefire
>          Issue Type: Wish
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M1
>            Reporter: Stig Rohde Døssing
>            Priority: Minor
>
> I have a project using both Surefire and Failsafe for running tests. I would like to
be able to run all tests, only Surefire tests, only Failsafe tests or no tests by supplying
command line flags.
> -DskipTests skips all tests
> -DskipITs skips Failsafe tests
> It would be nice if Surefire had an extra "skip tests" flag that wasn't shared with Failsafe,
similar to skipITs, so I could disable only the Surefire tests.



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

Mime
View raw message