Find Spring testing smells
Proprietary@MockBean / @SpyBean lateinit-var fields (often a plain unit test would do), MockMvcBuilders.standaloneSetup (consider @AutoConfigureMockMvc), and WebTestClient tests that don't drain the publisher with StepVerifier.
org. openrewrite. kotlin. spring. FindSpringTestingSmells$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. spring. FindSpringTestingSmells$KtRecipe'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.