Skip to content

Run the 'JUnitToAssertj' OpenRewrite recipe #311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Run the 'JUnitToAssertj' OpenRewrite recipe #311

wants to merge 1 commit into from

Conversation

making
Copy link
Member

@making making commented May 20, 2025

fixes gh-293

mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-testing-frameworks:RELEASE -Drewrite.activeRecipes=org.openrewrite.java.testing.assertj.JUnitToAssertj -Drewrite.exportDatatables=true

@backpaper0
Copy link
Member

org.hamcrest.MatcherAssert.assertThat, org.junit.jupiter.api.Assertions.assertThrows, and org.junit.jupiter.api.Assertions.fail are still remaining.
Would you like to remove them in this PR, or remove them in a separate one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to AssertJ
2 participants