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
- Bug: `withArgs` breaks IDEA test coverage
- Feature: extended verification language
- Bug: ClassCastException(Invalid name: byte[]) in generic interface mocking
- Bug: mocking KeyStore
- Feature: mocking object on creation
- Bug: StackOverflow error when mocking LoggerFactory
- Bug: unmockkStatic fail to unmock and result in NoSuchMethodException
- Bug: cannot throw a checked exception when stubbing an interface function with no @Throws
- Bug: build failure with ProGuard
- Instrumented tests not running on Android 8.0 and bellow
- Docs
- Kotlin not yet supported