type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.boot2.SpringBoot2JUnit4to5Migration
displayName: JUnit Jupiter for Spring Boot 2.x projects
description: Migrates Spring Boot 2.x projects having JUnit 4.x tests to JUnit Jupiter.
- org.openrewrite.java.spring.boot2.OutputCaptureExtension
- org.openrewrite.java.spring.boot2.UnnecessarySpringRunWith
- org.openrewrite.java.spring.boot2.UnnecessarySpringExtension
- org.openrewrite.java.spring.boot2.RemoveObsoleteSpringRunners
- org.openrewrite.maven.AddDependency:
groupId: org.springframework.boot
artifactId: spring-boot-tools
onlyIfUsing: org.springframework.boot.testsupport.runner.classpath.ModifiedClassPathExtension