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 supported140 Subscribers
View all SubscribersAdd a CodeTriage badge to mockito
Help out
- Issues
- Update decommissioned s01.oss.sonatype.org snapshot URL to Central Portal
- Include superclass class loaders when defining subclass mocks
- Upgrade Android Gradle Plugin to 9.2.1
- Replace constant hashcode
- Add InvocationOnMock.getInvocationCount() for stateful Answers
- Update InvocationOnMock to expose the invocation count
- Add plain static alias of captorForClass for static imports
- Add `captorForClass` static alias of `ArgumentCaptor.forClass`
- Fixes #3796 Add CheckReturnValue and CanIgnoreReturnValue annotations
- Fixes #3332: Make InlineByteBuddyMockMaker thread-safe
- Docs
- Java not yet supported