Replace MockitoTestExecutionListener (JUnit 4 projects)
MSALReplace MockitoTestExecutionListener in projects that have JUnit 4 as a dependency. Uses @RunWith(MockitoJUnitRunner.class) as the replacement.
org. openrewrite. java. testing. mockito. ReplaceMockitoTestExecutionListenerForJUnit4mod run . --recipe= org. openrewrite. java. testing. mockito. ReplaceMockitoTestExecutionListenerForJUnit4Install 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.