Testcontainers best practices

MSAL

Apply best practices to Testcontainers usage.

org.openrewrite.java.testing.testcontainers.TestContainersBestPractices
mod run . --recipe=org.openrewrite.java.testing.testcontainers.TestContainersBestPractices

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. Migrate to Apache Kafka Native container
  2. Migrate from oracle-xe to oracle-free
  3. Migrate to testcontainers-java 2.x