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

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.0.0-M1
    • None
    • Maven Surefire Plugin
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: