Closed adambir closed 1 week ago
Hi @timtebeek , thanks for the review.
I reworked the PR to handle the Junit 4 assertion starting with a String message. The message should now stay in first place. As suggested I separated the Junit5 and 4 matchers in the code. Support for assertArrayEquals and assertNull was added.
What's changed?
Added support for Junit 4 matchers in the
AssertionsArgumentOrder
recipe :What's your motivation?
Junit 5 migration is sometimes complicated so supporting Junit 4 is a plus.
Anything in particular you'd like reviewers to focus on?
Did not add support for assertIterableEquals (does not exist in Junit 4), for assertArrayEquals and assertNull as the signature differs from Junit 5.
Checklist