# Mockito

Java mocking framework that creates test doubles for unit tests, with an API for stubbing calls and verifying interactions.


Source: https://findsoftware.frbit.cloud/mockito/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://mockito.org
- repository: https://github.com/mockito/mockito
- docs: https://site.mockito.org
- forum: https://groups.google.com/group/mockito

### Identity

- status: active
- maintainer: Mockito contributors
- maintainerType: community
- parent: unknown
- firstRelease: 2008
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: java
- runtime: jvm
- runtimeMin: jvm 11
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: maven

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2026-09-23

### Adoption

- githubStargazers: 15448
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 314
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 145258
- dependentPackages: 25205

### Sources

- urls: https://mockito.org (read 2026-11-16)
- urls: https://api.github.com/repos/mockito/mockito (read 2026-11-16)
- urls: https://github.com/mockito/mockito/blob/main/README.md (read 2026-11-16)
- firstRelease: https://search.maven.org/solrsearch/select?q=g:org.mockito+AND+a:mockito-core+AND+v:1.3&core=gav&rows=5&wt=json (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/mockito/mockito/main/LICENSE (read 2026-11-16)
- language: https://api.github.com/repos/mockito/mockito (read 2026-11-16)
- category: https://github.com/mockito/mockito/blob/main/README.md (read 2026-11-16)
- runtime: https://github.com/mockito/mockito/blob/main/README.md (read 2026-11-16)
- runtimeMin: https://github.com/mockito/mockito/blob/main/README.md (read 2026-11-16)
- installMethod: https://mockito.org (read 2026-11-16)
- license: https://raw.githubusercontent.com/mockito/mockito/main/LICENSE (read 2026-11-16)
- licenseModel: https://api.github.com/repos/mockito/mockito (read 2026-11-16)
- currentMajor: https://github.com/mockito/mockito/blob/main/README.md (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/mockito/mockito/releases/latest (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/mockito/mockito (read 2026-11-16)
- contributors: https://api.github.com/repos/mockito/mockito/contributors?per_page=1 (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.mockito:mockito-core (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.mockito:mockito-core (read 2026-11-16)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
