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)

Reply via email to