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
- Registering additional "empty values"
- Scope LENIENT/Silent mode to methods, not entire classes
- refEq() should use deep comparison also in collections and nested objects
- Capturing arguments not working for overloaded methods.
- org.mockito.exceptions.misusing.UnfinishedStubbingException thrown on void method
- (Possible) memory leak in MockitoJUnitRunner
- Use of anyString() leads to UnnecessaryStubbingException
- Fixes #1516 and #1631 : Allows @Spy with @InjectMocks to be injected into other @InjectMocks
- Feature Request - Allow verbose logging for spies
- Have a way to detect unmatched calls
- Docs
- Java not yet supported