finds.dev

hehonghui/mockito-doc-zh

Mockito框架中文文档

View on GitHubHomepage ↗

★ 1,121MITupdated Nov 2020

// the take

A Chinese translation of the Mockito 2.0.26 beta documentation, split across multiple markdown files by contributor. Aimed at Chinese-speaking Java developers who find the official Javadoc hard to read.

Covers all 35 Mockito chapters including the less-documented features like delegate spying, MockMaker API, and cross-classloader serialization. The split-contributor model means the translation work was actually finished rather than abandoned mid-way. Code examples are preserved verbatim from the original, so they're accurate even if the prose translation has errors.

Last updated in 2020 and pinned to 2.0.26 beta — Mockito is now at 5.x, and several APIs translated here (stubVoid, MockitoAnnotations.initMocks, verifyZeroInteractions) are deprecated or removed. No rendered site or search — it's a pile of raw markdown files with no navigation beyond a table of contents in README. The translation quality varies noticeably between contributors, and the acknowledgment in the README that errors exist without a correction process means mistakes have sat for years.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,121
Forks
258
License
MIT
Last commit
7 Nov 2020

// nearby

If mockito-doc-zh isn't quite it.

All repos →