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
- InjectMocks have naive approach in choosing the multiple constructors with same size
- Add name parameter to argThat
- discussion: strict mockito inconsistencies
- Kotlin + MockIto + Android Instrumentation Test
- MockitoExtension cannot handle multiple generic mocks with different parameterized type
- @ExtendWith(MockitoExtension.class) does not support @Spy constructor injection.
- Different mocks are used for @Mock and @InjectMock in the same test class with JUnit 5 extension when using `SpringExtension.class` along with `MockitoExtension.class`
- Verify that a call happened after the completion of a concurrent call
- Flexible ordering between some calls, strict ordering relative to others
- Configure mocks for annotation interfaces with default values from annotation
- Docs
- Java not yet supported