Group no-change tests in a @Nested class NoChange
MSALMoves RewriteTest methods that only assert a recipe makes no changes into a @Nested class NoChange, placed after the tests that stay in the class. Only applies when at least three such tests sit next to at least one test that expects a change, or when a NoChange class already exists, and leaves test classes that already group tests by topic in other nested classes alone.
org. openrewrite. java. recipes. GroupNoChangeTestsmod run . --recipe= org. openrewrite. java. recipes. GroupNoChangeTestsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.