mockito
https://github.com/mockito/mockito
Java
Most popular Mocking framework for unit tests written in Java
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.
Java not yet supported143 Subscribers
View all SubscribersAdd a CodeTriage badge to mockito
Help out
- Issues
- Unable to verify when spying on kotlin class
- @After teardown, sleep 100ms, tests all passed
- Second call to "when" fails when mocking a Spring @Cacheable
- Verification is logged as invocation if verbose logging is enabled
- Deprecated and remove ArgumentMatchers.refEq
- Performance degradation after migration to mockito 2
- One object while mocking class with multiple arguments of the same type in constructor
- InlineByteBuddyMockMaker is freezing with static inner mock field
- NPE when spying on android.os.Handler class on Android API 28+
- StrictStubs doesn't work with @org.junit.experimental.categories.Category
- Docs
- Java not yet supported