Codebase for the blog post Automatic Java Code Migration with OpenRewrite (Mockito Example)
Steps to run this project:
- Clone this Git repository
- Navigate to the folder
open-rewrite-example
- Perform a dry run with
./mvnw rewrite:dryRun
- Perform the actual migration with
./mvnw rewrite:run
- Update Mockito to
3.12.4
- Run all tests with
./mvnw test