Include an assertion in tests
MSALFor tests not having any assertions, wrap the statements with JUnit Jupiter's Assertions#assertDoesNotThrow(..). Tests that make an assumption are left unchanged, as wrapping them would report a skipped test as a failure.
org. openrewrite. java. testing. cleanup. TestsShouldIncludeAssertionsOptional
A comma delimited list of packages and/or classes that will be identified as assertions. I.E. a common assertion utility org.foo.TestUtil.
mod run . --recipe= org. openrewrite. java. testing. cleanup. TestsShouldIncludeAssertionsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.