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: AssertException for SharedPreferences when running couple test cases together
- Feature: automatically do confirmation of verification
- Bug: after mocking HashMap in AIT everything get slow
- Bug: @SpyBean and @MockBean fails on verify, after spring-tx is added to classpath
- Bug: unexpected behavior when using spyk with `Intent`
- Bug: unable to test the setContentView activity method with a mocked Button
- Bug: open classes causes `NoSuchFieldException` for fields backing properties
- Feature: passing captured values within verifySequence
- Feature: add "no recording" flag to mockk/spyk function
- Feature: verify to match things based on exception in `withArg`
- Docs
- Kotlin not yet supported