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 supported28 Subscribers
View all SubscribersAdd a CodeTriage badge to mockk
Help out
- Issues
- How to mock the expect object class in KMM project
- ConfirmVerified not isolated per tests
- Do not unmock all mocks after every test function, but after the entire test class only. Clear mocks after every test function.
- Feature Request - Suppress & WhiteBox like feature in mockK
- Add module-info
- Cannot mock function returning nullable value class
- spayk on a interface object gets java.lang.IncompatibleClassChangeError, and failed
- Mocking doesn't work on Retrofit spies
- Cannot mock Color.argb(): every/verify {} block were run several times
- io.mockk.MockKException: can't find stub Disposable(temporary mock) #786
- Docs
- Kotlin not yet supported