<@U0N8HQET0> mockito-kotlin is a temporary hack to...
# mockk
p
@ghedeon mockito-kotlin is a temporary hack to make Mockito somewhat work with Kotlin. It is useful if some of your tests are in Java and you don't want to use two mocking frameworks. If your tests are in Kotlin then just use Mockk. It is far superior to Mockito. The syntax feels more natural, it is way more consistent, and @oleksiyp has been always super responsive in fixing bugs and adding things we need. Mockk also has strict mocks by default which is IMO far better than relaxed mocks in Mockito which can lead to subtle bugs, see here https://github.com/mockito/mockito/issues/1097