Open sleekweasel opened 3 years ago
@sleekweasel Is the kotlin-allopen
compiler plugin not an option for you?
@tadfisher I'm not asking that mockito-kotlin changes, just that its documentation be made clearer. Mentioning that such a plug-in exists would be a good part of that improvement in documentation.
Go for Mockk for whatever reason, but please realise before writing issues like this, that this is an open source project developed mostly by one person (probably on his spare time). Also everyone can create a PR for open source projects.
It's just unfair to assume that maintainers have nothing else to do than maintain their open source projects.
I find issues like this so demeaning. Sorry if I've misjudged the intention. Just sayin'.
Please highlight in your introductory text that both methods and classes need to be marked open - perhaps by way of example.
I wasted a lot of time chasing around why
caused this response
because while I remembered that classes are final by default under kotlin, I don't recall knowing that methods are too, by default.
This doesn't seem to be required by mockk, so despite its worse diagnostics, I'm probably going to shift to that.