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
- NPE when trying to access firstArg() and args[0] on mocked extension function
- Adding a mocked function to a list fails verify exactly = 0 check
- isMockKMock() returns true for final class it was unable to mock
- @SpyK on java.time.Clock fails on Java 17
- Duplicate class io.mockk.ValueClassSupportKt
- Bug: java.lang.AbstractMethodError when mocking FirebaseUser.isEmailVerified
- 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
- Docs
- Kotlin not yet supported