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 supported141 Subscribers
View all SubscribersAdd a CodeTriage badge to mockito
Help out
- Issues
- Add OpenTest4J support
- A spy object always invoke the real method when it be injected into a test service object
- Shipping Mockito Javadocs
- UnfinishedStubbingException raised with deep stubs when using the do* style stubbing
- Add support for "collective" vararg matchers
- verifyNoMoreInteractions behaviour change in Junit5 integration
- Spying on nongeneric subtype of generic type in Scala results in NPE when value type is used as actual type parameter
- After AndroidX: Cannot mock/spy class MyClassScope because final class
- Lenient for BDD
- ClassLoader clash when defining a MockMaker that invokes `Mockito.framework()`
- Docs
- Java not yet supported