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 supported2 Subscribers
Add a CodeTriage badge to mockito-kotlin
Help out
- Issues
- Help needed: Update gradle-nexus.publish-plugin from 1.3.0 to 2.0.0
- Ability to reset all used mocks
- When a function with default arguments is mocked using matchers, an InvalidUseOfMatchersException is raised.
- Kotlin spy beans created with incorrect method signature
- Mockito cannot mock function with UShort arguments
- Mockito cannot mock this class: class pl.inpost.recruitmenttask.presentation.shipmentList.Section$HasId.
- Wrong return value from doAnswer
- Version 5.0.0 + Android fails with: Cannot inline bytecode built with JVM target 11
- wheneverBlocking confuses with similar stub methods
- mockConstruction doesn't work with coroutines
- Docs
- Kotlin not yet supported