openrewrite / rewrite-testing-frameworks

OpenRewrite recipes that perform common Java testing migration tasks.
Apache License 2.0
74 stars 66 forks source link

Handle breaking changes in Mockito 5 #295

Open timtebeek opened 1 year ago

timtebeek commented 1 year ago

There's a number of breaking changes coming up in Mockito v5, which we might want to support soon after their release. For now we're pinned to v4, so nothing will break yet.

Changes include:

Some of these are still in progress, so not 100% clear if these are all the changes needed, and what exact changes users will have to make.

timtebeek commented 1 year ago

Draft release notes are now available to provide some more details already.

yeikel commented 1 year ago

Remove mockito-inline as it is no longer needed (it is the default) : https://github.com/saucelabs/saucerest-java/pull/318/commits/c64bb353519840ea583d2b67978234e21ba567a4