** org.openrewrite.java.spring.boot2.UnnecessarySpringExtension** @SpringBootTest and all test slice annotations already applies @SpringExtension as of Spring Boot 2.1.0.
This recipe has no required configuration options and can be activated directly after taking a dependency on org.openrewrite.recipe:rewrite-spring:4.25.1 in your build file:
Recipes can also be activated directly from the command line by adding the argument -Drewrite.activeRecipesorg.openrewrite.java.spring.boot2.UnnecessarySpringExtension