Add spring-boot-starter-data-mongodb-test for imperative MongoDB tests

MSAL

Adds the dedicated Spring Boot 4.0 imperative Spring Data MongoDB test starter when the application directly uses the imperative Spring Data MongoDB starter and MongoDB test slices.

org.openrewrite.java.spring.boot4.AddSpringBootStarterDataMongoDbTest
mod run . --recipe=org.openrewrite.java.spring.boot4.AddSpringBootStarterDataMongoDbTest

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. Add Gradle or Maven dependency org.springframework.boot:spring-boot-starter-data-mongodb-test:4.0.x
  2. Add Gradle or Maven dependency org.springframework.boot:spring-boot-starter-data-mongodb-test:4.0.x