Add JUnit Jupiter dependencies
MSALAdds JUnit Jupiter dependencies to a Maven or Gradle project. JUnit Jupiter can be added either with the artifact junit-jupiter, or both of junit-jupiter-api and junit-jupiter-engine. This adds junit-jupiter dependency unless junit-jupiter-api or junit-jupiter-engine are already present. Maven projects running dependency analysis receive explicit API, engine and, when used, parameterized-test dependencies.
org. openrewrite. java. testing. junit5. AddJupiterDependenciesmod run . --recipe= org. openrewrite. java. testing. junit5. AddJupiterDependenciesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.