For my application using spring-boot version 2.1.9.RELEASE adding maven-surefire-plugin was not needed. Also, the junit-jupiter-api and junit-jupiter-engine dependencies have the managed version 5.3.2 already. But I could not figure this out that if spring-boot-starter-test is using JUnit-4 then where does this managed version of JUnit-5 is coming from?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For my application using spring-boot version
2.1.9.RELEASE
addingmaven-surefire-plugin
was not needed. Also, thejunit-jupiter-api
andjunit-jupiter-engine
dependencies have the managed version5.3.2
already. But I could not figure this out that ifspring-boot-starter-test
is using JUnit-4 then where does this managed version of JUnit-5 is coming from?