re: How to enable JUnit 5 in new Spring Boot project VIEW POST


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?

Code of Conduct Report abuse