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

matcher vs mockito

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

matcher leads on usage with about 3.4x the daily downloads of mockito (236,889 vs 69,038 per day). mockito has the larger GitHub following (847 vs 529 stars).

matcher

🇺🇸 dart.dev · v0.12.20

Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases.

Downloads / day
236,889
Stars
529
Likes
66
Pub points
150

Replies within ~2 days

mockito

🇺🇸 dart.dev · v5.6.5

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

Downloads / day
69,038
Stars
847
Likes
1,532
Pub points
160

Replies within ~2 days

matcher vs mockito, metric by metric

Metric matcher mockito
Downloads / day 236,889 69,038
Rank in Testing #4 #8
GitHub stars 529 847
Likes 66 1,532
Pub points 150 / 160 160 / 160
Issue response (median) 0 days 0 days
Contributors 99 99
Last commit 1 month ago 1 month 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