mockk
https://github.com/mockk/mockk
Kotlin
mocking library for 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 supported34 Subscribers
View all SubscribersAdd a CodeTriage badge to mockk
Help out
- Issues
- ArrayStoreException in Kotlin 2.0
- mockkStatic(Instant::class) failed with stdObjectAnswer than equals/hashCode/toString with Spring Boot 3.0.x and JDK 17.0.x
- java.lang.AbstractMethodError When trying to capture lambdas
- Issue with mocking value classes with coEvery
- Nullable return on mock from private SDK
- getProperty can't find private property in parent class
- After updated Kotlin from 1.6.21 to 1.8.0 the class is not Mocked correctly
- Spyed class with generic member bound to inline class returns backing member of inline class instance
- Incorrect installation instructions as of 1.13.x
- Unexpected instance check behaviours on mockks of Sealed interfaces
- Docs
- Kotlin not yet supported