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

fake_async vs mockito

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

fake_async leads on usage with about 3.0x the daily downloads of mockito (237,203 vs 78,248 per day). mockito has the larger GitHub following (863 vs 533 stars).

fake_async

🇺🇸 dart.dev · v1.3.3

Fake asynchronous events such as timers and microtasks for deterministic testing.

Downloads / day
237,203
Stars
533
Likes
122
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

fake_async vs mockito, metric by metric

Metric fake_async mockito
Downloads / day 237,203 78,248
Rank in Testing #5 #8
GitHub stars 533 863
Likes 122 1,540
Pub points 150 / 160 140 / 160
Issue response (median) 0 days 0 days
Contributors 99 99
Last commit 23 days ago 17 days ago
CI Yes Yes
License APACHE-2.0 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