Daniel Matheis @ VIVAVIS
Daniel Matheis @ VIVAVIS
I would assume that this discussion is not up-to-date and that the current plan is rather this: keep InjectMocks but make it work for the usual cases, see https://github.com/mockito/mockito/pull/3123#issuecomment-1735024006 please...
After a closer look and local playing around with the code the feature "**support generics**" https://github.com/mockito/mockito/pull/2923 released with v5.2.0 introduced the problems which several users have reported. I have "fixed"...
It is more a feeling when reading release notes and other issues that this feature has yet not reached full "maturity" for all cases. And I think not all are...
During lunch break I have tried out to introduce such a simple feature toggle via System property in org.mockito.internal.configuration.injection.filter.TypeBasedCandidateFilter.filterCandidate(Collection, Field, List, Object, Field) When the "pre-5.2.0" code/behaviour was activated, the...
Looking at the rest of the failing tests in our project I think we are in many cases **hit by the behaviour change** https://github.com/mockito/mockito/issues/2978 / https://github.com/mockito/mockito/pull/2603 we are relying on...
Now test cases of that one project back to green. Achieved this by changing code back towards the legacy pre-5.2.0 behaviour. Still prototypical code of course but sufficient at the...
Thanks a lot for your reply and insights it provides to us externals ;) You should know we users **appreciate** Mockito and the maintainers'/contributors' work a lot and couldn't really...
Any more progress or new ideas how to get this solved? Or are there alternative ways to replace p2-maven-plugin features in the future?