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
- `clearInlineMocks` not working with `MockitoJUnit.rule()`
- #1900 Configure mocks for annotation interfaces with default values from annotation
- Issue with initializing inline Byte Buddy mock maker on IBM java
- Erroneously failed tests using @InjectMocks with @MockitoExtension
- StrictStubs incorrectly detects PotentialStubbingProblem for Spy's
- @InjectMocks can't inject both @Autowired and constructor dependencies
- Mock Fails Only in Debug Mode When Using mock-maker-inline
- eq() argument matcher for Kotlin suspend function call matches original call but will not match subsequent continuation resume calls
- verifyNoMoreInteractions inconsistent behavior
- RedundantListenerException when updating to mockito 3.2.4 with parallel test execution
- Docs
- Java not yet supported