[ 
https://issues.apache.org/jira/browse/SUREFIRE-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704682#comment-17704682
 ] 

Slawomir Jaranowski commented on SUREFIRE-2158:
-----------------------------------------------

junit-platform-runner - is used when you want execute JUnit 5 test in JUnit4 
environment - so in such case JUnit 4 provider is used.

Is it your case?

Try to remove junit-platform-runner if you use only JUnit 5 tests.

> 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)

Reply via email to