Remove unnecessary Spring @RunWith

MSAL

Remove @RunWith annotations on Spring tests.

org.openrewrite.java.spring.boot2.UnnecessarySpringRunWith
mod run . --recipe=org.openrewrite.java.spring.boot2.UnnecessarySpringRunWith

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. JUnit 4 @RunWith to JUnit Jupiter @ExtendWith