[ https://issues.apache.org/jira/browse/SUREFIRE-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467053#comment-17467053 ]
Yauheni Kalitska commented on SUREFIRE-1873: -------------------------------------------- Can i vote or suggest fix for this bug? > Junit5 tag expression support for `any()` and `none()` > ------------------------------------------------------ > > Key: SUREFIRE-1873 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1873 > Project: Maven Surefire > Issue Type: Bug > Components: JUnit 5.x support > Affects Versions: 2.22.2, 3.0.0-M5 > Reporter: Daniel Robert > Priority: Major > > As of JUnit5 > [5.6.0|https://junit.org/junit5/docs/5.7.0/release-notes/#release-notes-5.6.0] > tag expression support was added for {{any()}} and {{none()}} but it does > not seem surefire honors these. > In 2.22.2 they seem to be silently ignored. > In 3.0.0-M5 this message is output: > {quote}[WARNING] Couldn't load group class 'none' in Surefire|Failsafe > plugin. The group class is ignored! > {quote} > Sample configuration to run 'tests that do not have any tags': > {code:xml} > <plugin> > <artifactId>maven-surefire-plugin</artifactId> > <configuration> > <groups>none()</groups> > <excludedGroups>any()</excludedGroups> > </configuration> > </plugin> > {code} > Related: it's not clear the order of precedence for 'include' vs 'exclude'. -- This message was sent by Atlassian Jira (v8.20.1#820001)