-
Notifications
You must be signed in to change notification settings - Fork 17
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
Error while mocking #17
Comments
Any word on this? I get this with the following
|
Sadly, I think this project is out. :( There is a 'native' groovy mock feature |
This problem was already fixed on newer versions of Mockito. If you can use the more recent versions of Mockito you do not need this project to make it work with Groovy—it should work out of the box. See mockito/mockito#72 (comment) I am currently using Mockito 2.8.9 with Groovy 2.4.11 and it works just fine. Not sure why the following happened to you:
If you post stack trace and how to reproduce the issue, maybe we can help. |
I can use mockito with groovy only with @CompileStatic classes
I tried to use this library, but everytime I launch the test (compilestatic or not) this error ir thrown
With
Exception
The text was updated successfully, but these errors were encountered: