You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jeremy Norris (Jira)" <ji...@apache.org> on 2023/03/24 16:13:00 UTC
[jira] [Comment Edited] (SUREFIRE-2158) excludedGroups parameter no longer works
[ https://issues.apache.org/jira/browse/SUREFIRE-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704685#comment-17704685 ]
Jeremy Norris edited comment on SUREFIRE-2158 at 3/24/23 4:12 PM:
------------------------------------------------------------------
Switching the dependency fromĀ {{junit-platform-runner}} to {{junit-platform-suite-api}} appears to work.
I guess it was being used here for the transitive dependency to {{junit-platform-suite-api}}.
was (Author: norrisjeremy):
Switching the dependency fromĀ {{junit-platform-runner}} to {{junit-platform-suite-api}} appears to work.
I guess it was being used here for the transitive dependency to {{junit-platform-suite-api}}).
> excludedGroups parameter no longer works
> ----------------------------------------
>
> Key: SUREFIRE-2158
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2158
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 3.0.0
> Environment: n/a
> Reporter: Jeremy Norris
> Priority: Critical
> Fix For: waiting-for-feedback
>
>
> Specifying {{<excludedGroups>foo</excludedGroups>}} in the Surefire configuration no longer works with JUnit 5 {{@Tag}}'d tests.
> Surefire now spits out the following and fails to execute any unit tests:
> {{[WARNING] Couldn't load group class 'foo' in Surefire|Failsafe plugin. The group class is ignored!}}
> With manual bisection seems to indicate this functionality was lost in the 3.0.0-M5 release.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)