Skip to content
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

Mockito version policy in releases #29

Open
dalbani opened this issue Aug 3, 2022 · 2 comments
Open

Mockito version policy in releases #29

dalbani opened this issue Aug 3, 2022 · 2 comments

Comments

@dalbani
Copy link

dalbani commented Aug 3, 2022

Hello, this "issue" is more like a question: what's the policy of scalatestplus-mockito with regard to which versions of Mockito are supported?
I mean, I'd like to use the latest 3.2.13.0 release, but without upgrading to Mockito 4.6, as my code is still using 4.5 elsewhere.
Would consider supporting multiple versions of Mockito?
Thanks!

@cheeseng
Copy link
Contributor

cheeseng commented Aug 7, 2022

@dalbani To normally to support the latest version to encourage people to upgrade, unless when there's issue with the latest version. Anyway, I think the current version built for 4.6 probably works for 4.5 also.

@dalbani
Copy link
Author

dalbani commented Aug 29, 2022

Yes, in practice, it's very probable that Mockito 4.6 is "compatible" with Mockito 4.5.
But it's not really an ideal situation for me, and can probably break in edge cases.
And upgrading my codebase to Mockito 4.6 is not an option either, as I prefer to stick to the version recommended by the Spring Boot framework I'm using.

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

No branches or pull requests

2 participants