Migrate JUnit 4 lifecycle annotations to JUnit Jupiter
MSALReplace JUnit 4's @Before, @BeforeClass, @After, and @AfterClass annotations with their JUnit Jupiter equivalents.
org. openrewrite. java. testing. junit5. UpdateBeforeAfterAnnotationsmod run . --recipe= org. openrewrite. java. testing. junit5. UpdateBeforeAfterAnnotationsInstall 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.