Replace @ExtendWith and @ContextConfiguration with @SpringJUnitConfig
MSALReplaces @ExtendWith(SpringRunner.class) and @ContextConfiguration with @SpringJUnitConfig, preserving attributes on @ContextConfiguration, unless @ContextConfiguration(loader = ...) is used.
org. openrewrite. java. spring. boot2. ReplaceExtendWithAndContextConfigurationmod run . --recipe= org. openrewrite. java. spring. boot2. ReplaceExtendWithAndContextConfigurationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.