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.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.