mockito
🇺🇸 dart.dev · v5.8.1
A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.
Downloads / day
92,489
Stars
872
Likes
1,541
Pub points
140
Replies within ~2 days
A head-to-head of two Testing packages on pub.dev, by daily downloads, GitHub activity, and maintenance.
test_api leads on usage with about 5.7x the daily downloads of mockito (523,341 vs 92,489 per day). mockito has the larger GitHub following (872 vs 536 stars).
🇺🇸 dart.dev · v5.8.1
A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.
Replies within ~2 days
🇺🇸 tools.dart.dev · v0.7.15
The user facing API for structuring Dart tests and checking expectations.
Replies within ~2 days
| Metric | mockito | test_api |
|---|---|---|
| Downloads / day | 92,489 | 523,341 |
| Rank in Testing | #8 | #2 |
| GitHub stars | 872 | 536 |
| Likes | 1,541 | 24 |
| Pub points | 140 / 160 | 150 / 160 |
| Issue response (median) | 0 days | 0 days |
| Contributors | 99 | 99 |
| Last commit | 19 days ago | 16 days ago |
| CI | Yes | Yes |
| License | BSD-3-Clause | BSD-3-CLAUSE |
| First published | 12 years ago | 8 years ago |
| Platforms | android, ios, windows, linux, macos, web | android, ios, windows, linux, macos, web |
Highlighted cell wins each comparable metric. For rank, issue response, and last commit, lower is better.