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 4.2x the daily downloads of mockito (331,477 vs 78,248 per day). mockito has the larger GitHub following (863 vs 536 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
331,477
Stars
536
Likes
68
Pub points
150

Replies within ~2 days

mockito

🇺🇸 dart.dev · v5.8.1

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

Downloads / day
78,248
Stars
863
Likes
1,540
Pub points
140

Replies within ~2 days

matcher vs mockito, metric by metric

Metric matcher mockito
Downloads / day 331,477 78,248
Rank in Testing #4 #8
GitHub stars 536 863
Likes 68 1,540
Pub points 150 / 160 140 / 160
Issue response (median) 0 days 0 days
Contributors 99 99
Last commit 18 days ago 16 days ago
CI Yes Yes
License BSD-3-CLAUSE BSD-3-Clause
First published 12 years ago 12 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