Version mismatch between latest versions on Maven Central (7.25.0) and MVNRepository (7.23.0) #2262
-
It seems that on Maven Central When I upgrade to 7.25.0 I get "org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-platform-suite' failed to discover tests". I checked and the versions of the dependencies of 7.25.0 ar the same as I have defined in my Gradle build file. When I downgrade back to 7.23.0 everything works as expected. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Cucumber 7.24 requires the JUnit platform 1.13.3 (JUnit Jupiter 5.13.3). You'll have to upgrade JUnit first. Also make sure you are using the https://docs.junit.org/current/user-guide/#running-tests-build-spring-boot
That's just a site indexing other Maven repositories. You can disregard it. |
Beta Was this translation helpful? Give feedback.
-
Thanks, that worked. For some reason the versions I defined for JUnit Platform and JUnit Jupiter in my libs.versions.toml file were ignored or Spring Boot's dependency management ignored it or something, with the release of Cucumber 7.24, as everything worked with Cucumber 7.23 I added in my build.gradle file the line: This did the trick. |
Beta Was this translation helpful? Give feedback.
Cucumber 7.24 requires the JUnit platform 1.13.3 (JUnit Jupiter 5.13.3). You'll have to upgrade JUnit first.
Also make sure you are using the
cucumber-bom
and thejunit-bom
. Or if you're using spring boot, then set the version property.https://docs.junit.org/current/user-guide/#running-tests-build-spring-boot
That's just a site indexing other Maven repositories. You can disregard it.