Find @Test methods with empty bodies

Proprietary

An empty @Test fun foo() { } passes unconditionally. The reasons it lands in a codebase are usually disabled-during-WIP, scaffolded-then-forgotten, or a stand-in for a TODO. Each match should either gain assertions, be annotated @Disabled with a reason, or be deleted.

org.openrewrite.kotlin.testing.FindEmptyTestBody$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.testing.FindEmptyTestBody$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.