Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1610

Provide a flag for skipping test execution that isn't shared with Failsafe

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0-M1
    • Fix Version/s: None
    • Component/s: Maven Surefire Plugin
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                srdo Stig Rohde Døssing
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: