codegenomeproject
Search
MarketplaceModules
PackagesCLIMCP
Sign in
  1. Marketplace
  2. Java
  3. Testing
  4. Migrate Fest 2.x to AssertJ

Migrate Fest 2.x to AssertJ

MSAL

AssertJ provides a rich set of assertions, truly helpful error messages, improves test code readability. Converts Fest 2.x imports to AssertJ imports.

org.openrewrite.java.testing.assertj.FestToAssertj
mod run . --recipe=org.openrewrite.java.testing.assertj.FestToAssertj

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.

Recipe
  1. Change method name org.fest.assertions.api.ObjectAssert#isLenientEqualsToByIgnoringFields(..) to isEqualToIgnoringGivenFields
  2. Change method name org.fest.assertions.api.ObjectAssert#isLenientEqualsToByAcceptingFields(..) to isEqualToComparingOnlyGivenFields
  3. Change method name org.fest.assertions.api.ObjectAssert#isLenientEqualsToByIgnoringNullFields(..) to isEqualToIgnoringNullFields
  4. Change method name org.fest.assertions.api.ObjectAssert#isEqualsToByComparingFields(..) to isEqualToComparingFieldByField
  5. Rename package name org.fest.assertions.api to org.assertj.core.api
  6. Change type org.fest.assertions.core.Condition to org.assertj.core.api.Condition
  7. Rename package name org.fest.assertions.util to org.assertj.core.util
  8. Rename package name org.fest.assertions.data to org.assertj.core.data
  9. Change Gradle or Maven dependency org.easytesting:fest-assert-core
© Moderne, 2026
Recipe indexPrivacyTerms