mockito
Published by 🇺🇸dart.dev · v5.8.1 · released 17 days 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 #197 overall androidioswindowslinuxmacosweb
Downloads / day
78,248
as of 2026-08-23
GitHub stars
863
★ refreshed weekly
Likes
1,540
on pub.dev
Pub points
140 / 160
2026-07-24 2026-08-23
Repository health
Shared with 8 sibling packages in this repo.
- Last commit
- 16 days ago
- Issue response
- Maintainer replies within ~2 days (median over 36 closed issues)
- Commit activity
- Open issues
- 108
- Open PRs
- 15
- Contributors
- 99 (top contributor 29%)
- CI
- GitHub Actions
- License (repo)
Sibling packages: build, build_runner, build_daemon, build_config, build_web_compilers, scratch_space, build_test, build_modules
Last refreshed 16 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 | 372.3K | ★ 536 | 24 |
| #2 | 🇺🇸 tools.dart.dev | 371K | ★ 112 | 132 |
| #3 | 🇺🇸 dart.dev | 349.4K | ★ 536 | 626 |
| #4 | 🇺🇸 dart.dev | 331.5K | ★ 536 | 68 |
| #5 | 🇺🇸 dart.dev | 237.2K | ★ 533 | 122 |
Compare mockito with
Head-to-head breakdowns against the other top Testing packages.
