You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Butler (Jira)" <ji...@apache.org> on 2020/07/23 12:02:00 UTC

[jira] [Created] (SUREFIRE-1829) -DexcludeGroups on skipping tagged test methods

John Butler created SUREFIRE-1829:
-------------------------------------

             Summary: -DexcludeGroups on skipping tagged test methods 
                 Key: SUREFIRE-1829
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1829
             Project: Maven Surefire
          Issue Type: Bug
            Reporter: John Butler


I am running failsafe using JUnit 5. I use the excludedGroups option at the command line (in git CI/CD pipeline) and although it skips test classes with the @Tag annotation, it does not skip test methods with the @Tag annotation. However, if I use @Category at the test method level, those are skipped. 

According to the documentation tagged methods should be skipped: "Any methods/classes/etc with one of the groups/categories/tags specified in this list will specifically not be run."



--
This message was sent by Atlassian Jira
(v8.3.4#803005)