JUnit 6 best practices

MSAL

Migrates JUnit 5 tests to JUnit 6 and applies the JUnit Jupiter best practices.

org.openrewrite.java.testing.junit.JUnit6BestPractices
mod run . --recipe=org.openrewrite.java.testing.junit.JUnit6BestPractices

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.

  1. JUnit 6 migration from JUnit 5.x
  2. JUnit Jupiter best practices