JUnit 4 @Rule Timeout to JUnit Jupiter's Timeout

MSAL

Replace usages of JUnit 4's @Rule Timeout with JUnit 5 Timeout class annotation.

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

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