Upgrade to JUnit 5.13

MSAL

Upgrades JUnit 5 to 5.13.x and replaces the deprecated ParameterizedTest placeholder constants with those of ParameterizedInvocationConstants.

org.openrewrite.java.testing.junit5.UpgradeToJUnit513
mod run . --recipe=org.openrewrite.java.testing.junit5.UpgradeToJUnit513

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. Upgrade Gradle or Maven dependency versions org.junit:junit-bom:5.13.x
  2. Upgrade Gradle or Maven dependency versions org.junit.jupiter:*:5.13.x
  3. Upgrade Gradle or Maven dependency versions org.junit.platform:*:1.13.x
  4. Upgrade Gradle or Maven dependency versions org.junit.vintage:*:5.13.x
  5. Replace constant with another constant
  6. Replace constant with another constant
  7. Replace constant with another constant
  8. Replace constant with another constant
  9. Replace constant with another constant
  10. Replace constant with another constant
  11. Replace constant with another constant