Sponsored by- The #1 Flutter-powered AI app builder
Home/Top/Testing/mockito vs test

mockito vs test

A head-to-head of two Testing packages on pub.dev, by daily downloads, GitHub activity, and maintenance.

test leads on usage with about 5.0x the daily downloads of mockito (440,295 vs 87,568 per day). mockito has the larger GitHub following (867 vs 536 stars).

mockito

🇺🇸 dart.dev · v5.8.1

A mock framework inspired by Mockito with APIs for Fakes, Mocks, behavior verification, and stubbing.

Downloads / day
87,568
Stars
867
Likes
1,540
Pub points
140

Replies within ~2 days

test

🇺🇸 dart.dev · v1.32.0

A full featured library for writing and running Dart tests across platforms.

Downloads / day
440,295
Stars
536
Likes
627
Pub points
150

Replies within ~2 days

mockito vs test, metric by metric

Metric mockito test
Downloads / day 87,568 440,295
Rank in Testing #8 #3
GitHub stars 867 536
Likes 1,540 627
Pub points 140 / 160 150 / 160
Issue response (median) 0 days 0 days
Contributors 99 99
Last commit 24 days ago 23 days ago
CI Yes Yes
License BSD-3-Clause BSD-3-CLAUSE
First published 12 years ago 11 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.

More Testing comparisons