You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! The documentation already has a section on migrating from JUnit to AssertJ with scripts. The documentation does not yet document a way to migrate from Hamcrest assertions to AssertJ.
Would you all be open to adding a section to the docs to document the Hamcrest and JUnit to AssertJ migration with OpenRewrite?
I'd be happy to help write such a section, but wanted to reach out before I do so, and ask how you would like to position the above as compared to the regex script based approach that exists currently.
The text was updated successfully, but these errors were encountered:
Hi! The documentation already has a section on migrating from JUnit to AssertJ with scripts. The documentation does not yet document a way to migrate from Hamcrest assertions to AssertJ.
An automated migration from Hamcrest to AssertJ is (in large part) possible with the OSS OpenRewrite, either by running Migrate Hamcrest to AssertJ assertions or the broader AssertJ best practices recipe. The latter also migrates JUnit to AssertJ, and adopts more expressive assertions for AssertJ, as seen in this example PR for Spring Security.
Would you all be open to adding a section to the docs to document the Hamcrest and JUnit to AssertJ migration with OpenRewrite?
I'd be happy to help write such a section, but wanted to reach out before I do so, and ask how you would like to position the above as compared to the regex script based approach that exists currently.
The text was updated successfully, but these errors were encountered: