mockito
Published by 🇺🇸dart.dev · v5.8.1 · released 1 month ago · APACHE-2.0 License
First published 12 years ago.
A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.
Part of dart-lang/build (9 packages)
#8 in Testing #199 overall androidioswindowslinuxmacosweb
Downloads / day
83,081
as of 2026-09-14
GitHub stars
867
★ refreshed weekly
Likes
1,540
on pub.dev
Pub points
140 / 160
2026-08-15 2026-09-14
Repository health
Shared with 8 sibling packages in this repo.
- Last commit
- 17 days ago
- Issue response
- Maintainer replies within ~2 days (median over 36 closed issues)
- Commit activity
- Open issues
- 110
- Open PRs
- 17
- Contributors
- 99 (top contributor 28%)
- CI
- GitHub Actions
- License (repo)
Sibling packages: build, build_runner, build_config, build_daemon, build_test, build_web_compilers, scratch_space, build_modules
Last refreshed 14 days ago.
How mockito compares in Testing
Top of the Testing leaderboard, with mockito highlighted.
| Rank | Package | Downloads / day | Stars | Likes |
|---|---|---|---|---|
| #1 | 🇺🇸 tools.dart.dev | 405.5K | ★ 536 | 24 |
| #2 | 🇺🇸 tools.dart.dev | 391.6K | ★ 113 | 132 |
| #3 | 🇺🇸 dart.dev | 379.6K | ★ 536 | 626 |
| #4 | 🇺🇸 dart.dev | 356K | ★ 536 | 68 |
| #5 | 🇺🇸 dart.dev | 258.4K | ★ 536 | 122 |
Compare mockito with
Head-to-head breakdowns against the other top Testing packages.
