mockito-kotlin
https://github.com/mockito/mockito-kotlin
Kotlin
Using Mockito with Kotlin
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Kotlin not yet supported3 Subscribers
Add a CodeTriage badge to mockito-kotlin
Help out
- Issues
- Does not work with powermock: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
- java.lang.NullPointerException using mock()
- migrate to JUnit5
- Mockito Kotlin is breaking with new type inference
- Multiple verify does not work
- Mocking a function with matchers that has default arguments throws InvalidUseOfMatchersException
- Verifying multiple calls with check function logs assertion error
- IncompatibleClassChangeError when using argThat
- Currently incompatible with inline class
- Stubbing returns null with named argument mixed ordering
- Docs
- Kotlin not yet supported