maven-issues mailing list archives

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


ASF GitHub Bot commented on SUREFIRE-1610:

srdo commented on issue #206: SUREFIRE-1610: Add skipUTs flag to SurefirePlugin
   Makes sense. I just meant that it would be good to have built in, since compiling everything
but not running the tests is a pretty common use case (for me at least). I suppose writing
`mvn install -DskipTests -DskipITs` isn't that much longer than a common flag would be anyway.

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:

> Provide a flag for skipping test execution that isn't shared with Failsafe
> --------------------------------------------------------------------------
>                 Key: SUREFIRE-1610
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Wish
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M1
>            Reporter: Stig Rohde Døssing
>            Assignee: Tibor Digana
>            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

View raw message