JUnit 4 @RunWith(Enclosed.class) to JUnit Jupiter @Nested

MSAL

Replaces the Enclosed runner with @Nested on its inner test classes, preserving independent static test classes.

org.openrewrite.java.testing.junit5.EnclosedToNested
mod run . --recipe=org.openrewrite.java.testing.junit5.EnclosedToNested

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