re: Why You Should Start Using JUnit 5 VIEW POST


SpringExtension is available since Spring 5 not Spring boot 2. This class can be found in spring-test dependency.


Yep, you are right.

I was looking at this from a spring-boot perspective (maybe a bit narrow-minded) where you don't select the spring framework or testing version anymore. Spring 5 will be used by boot 2 automatically.

code of conduct - report abuse