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

Slawomir Jaranowski commented on SUREFIRE-2043:
-----------------------------------------------

Please upgrade test to use {{testng-engine}} 
https://github.com/junit-team/testng-engine

> Test groups not working for testng in combination with JUnit5
> -------------------------------------------------------------
>
>                 Key: SUREFIRE-2043
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2043
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: JUnit 5.x support, Maven Surefire Plugin, TestNG support
>    Affects Versions: 3.0.0-M5
>            Reporter: Pavel Rybnicek
>            Priority: Major
>
> Started with this example:
> maven-surefire\surefire-its\src\test\resources\junit5-testng
> Added both test to group "aa" (testng) / Tag "aa" (Junit5)
> mvn test runs both tests
> mvn test -Dgroups=aa runs only Junit5 test.
>  
> Looks like groups don't work at all for testng in this configuration.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to