Skip to content

[SUREFIRE-823] Decouple -DskipTests from Failsafe plugin#3371

Open
olamy wants to merge 1 commit into
apache:masterfrom
olamy:gh-1766-disable-skipTests-it-tests
Open

[SUREFIRE-823] Decouple -DskipTests from Failsafe plugin#3371
olamy wants to merge 1 commit into
apache:masterfrom
olamy:gh-1766-disable-skipTests-it-tests

Conversation

@olamy

@olamy olamy commented Jun 3, 2026

Copy link
Copy Markdown
Member

The Failsafe plugin's skipTests parameter is no longer bound to the
skipTests user property. -DskipTests now only skips Surefire (unit tests)
while leaving Failsafe (integration tests) untouched.

Use -DskipITs to skip integration tests from the command line, or
-Dmaven.test.skip to skip both. The plugin configuration
element is still honoured when set explicitly.

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean install to make sure basic checks pass. A more thorough check will
    be performed on your pull request automatically.
  • You have run the integration tests successfully (mvn -Prun-its clean install).

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

Signed-off-by: Olivier Lamy <olamy@apache.org>
@olamy olamy added the enhancement New feature or request label Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant