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

Add option to specify mockmaker for @Spy #2740

Open
TimvdLippe opened this issue Aug 28, 2022 · 1 comment
Open

Add option to specify mockmaker for @Spy #2740

TimvdLippe opened this issue Aug 28, 2022 · 1 comment

Comments

@TimvdLippe
Copy link
Contributor

To expand on #2626, we should also support this option for @Spy, which will require updating our spy annotation injection engine.

@deepakab03
Copy link

deepakab03 commented Jun 12, 2024

This will be very useful to have.there since breakpoints on Spied objects don't work with the new inline mock maker (in Eclipse).
It works with mockito-subclass dependency added, but it would be good to have the option to specify a mock maker where required rather than change the default jar used..

Also useful to have this option in MockitoSettings level as well..

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