
Mockito
Java mocking framework that creates test doubles for unit tests, with an API for stubbing calls and verifying interactions.
Mockito is a mocking framework for Java that creates test doubles for unit tests, with an API for stubbing calls and verifying interactions. Build tools such as Maven and Gradle fetch it from Maven Central, and the project site, linked from the README, holds the documentation. The project wiki says Mockito started as a fork of EasyMock and shares no code with it.
Sources
- 2026-11-16: links, Install with
mockito.org - 2026-11-16: links, Written in, License model, GitHub stars
api.github.com/repos/mockito/mockito - 2026-11-16: links, Categories, Runtime, Minimum runtime, Current major version
github.com/mockito/mockito/blob/main/README.md - 2026-11-16: First release
search.maven.org/solrsearch/select?q=g:org.mockito+AND+a:mockito-core+AND+v:1.3&core=gav&rows=5&wt=json - 2026-11-16: Maintainer, License
raw.githubusercontent.com/mockito/mockito/main/LICENSE - 2026-11-16: Last release
api.github.com/repos/mockito/mockito/releases/latest - 2026-11-16: Contributors
api.github.com/repos/mockito/mockito/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.mockito:mockito-core