Potential problem with junit platform and maven surefire 'rerunFailingTestsCount' #4026
Replies: 4 comments 6 replies
-
Exactly which Cucumber and JUnit dependencies and versions are you using? Can you show us a reproducer by forking https://github.com/cucumber/cucumber-java-skeleton? |
Beta Was this translation helpful? Give feedback.
-
Hello I'm using: cucumber-java They are all version 7.19.0 My maven surefire / cucumber configuration parameters are:
My junit platform dependencies are: junit-platform-suite They are currently version 1.10.2, as anything greater than this recreates the problem. The other junit dependency is: junit-jupiter version 5.11.0 I'm executing my tests with:
Will look into fork when I get some spare time. Thanks |
Beta Was this translation helpful? Give feedback.
-
Just tried |
Beta Was this translation helpful? Give feedback.
-
Here is a basic repo to clone and recreate the problem. Make sure you have chrome version 129. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a ui/api automated test suite using java/selenium/cucumber.
Maven surefire plugin 3.5.0 executes the tests.
Is anybody aware of an issue where if you are running:
junit platform greater than 1.10.2 (it works on 1.10.2)
Under maven surefire when rerunFailingTestsCount is invoked after your initial cucumber test run, it is rerunning all your tests again and not just the failed ones?
Beta Was this translation helpful? Give feedback.
All reactions