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

mockito vs mocktail

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

mocktail edges mockito on usage, roughly 26% more daily downloads (98,637 vs 78,445 per day). mockito has the larger GitHub following (867 vs 702 stars).

mockito

🇺🇸 dart.dev · v5.8.1

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

Downloads / day
78,445
Stars
867
Likes
1,540
Pub points
140

Replies within ~2 days

mocktail

🇺🇸 felangel.dev · v1.0.5

A Dart mock library which simplifies mocking with null safety support and no manual mocks or code generation.

Downloads / day
98,637
Stars
702
Likes
1,243
Pub points
160

mockito vs mocktail, metric by metric

Metric mockito mocktail
Downloads / day 78,445 98,637
Rank in Testing #8 #7
GitHub stars 867 702
Likes 1,540 1,243
Pub points 140 / 160 160 / 160
Issue response (median) 0 days
Contributors 99 21
Last commit 7 days ago 4 months ago
CI Yes Yes
License BSD-3-Clause MIT
First published 12 years ago 5 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