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
- cannt mock PackageInfo
- Implementation not mocked depending on constructor signature
- mockkObject does not mock static values properly.
- java 17, the spyK(map) does not work.
- Adding MockK logs JDK Sharing warning
- Mocking jOOQ 3.15+ fails with "attempted to add a method"
- `verify` succeeds with functions that aren't mocked or spied
- setProperty not recognizing arguments when private set
- Problem when mocking a function with optional value class
- ClassCastException when calling a mocked generic function
- Docs
- Kotlin not yet supported