Szczepan Faber
Szczepan Faber
I think so. It's been long since I was touching the release automation code. @TimvdLippe will you take care of it or do you need my help?
Sure! Thanks for checking this.
Thank you for reporting! We don't normally use Mockito with Groovy code because the best unit testing framework for Groovy is [Spock framework](http://spockframework.org) which already contains [great support for mocking](http://spockframework.org/spock/docs/1.1/interaction_based_testing.html)....
Mockito ships source code to Maven Central. So long you configure your project using model build tools like Gradle or at least Maven, the source code should be picked up...
I don't have an answer right off the bat. The issue needs to be debugged. I'll ping @raphw (founder of Bytebuddy and core Mockito developer) in case he can /...
@imod, thank you for feedback! I haven't thought about the idea to use system property. >...assuming I don't have to use different APIs for strict and not strict mode. That's...
@imod, thank you for feedback! This ticket is to add support for strict mocks. It does not offer globally configurable "strictness level". We will see if there is more feedback...
@jadeleeuw, it's a limitation of our syntax. In the description, we stated that strict mocking will require using doReturn API. @henri-tremblay suggested an interesting idea, new method "setStrict(mock)" in https://github.com/mockito/mockito/issues/1677#issuecomment-479013893
FYI: I'm making progress on the implementation. Stay tuned :-)
On it.