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 (220,615 vs 74,754 per day). mockito has the larger GitHub following (861 vs 533 stars).

fake_async

🇺🇸 dart.dev · v1.3.3

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

Downloads / day
220,615
Stars
533
Likes
122
Pub points
150

Replies within ~2 days

mockito

🇺🇸 dart.dev · v5.7.0

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

Downloads / day
74,754
Stars
861
Likes
1,537
Pub points
160

Replies within ~2 days

fake_async vs mockito, metric by metric

Metric fake_async mockito
Downloads / day 220,615 74,754
Rank in Testing #5 #8
GitHub stars 533 861
Likes 122 1,537
Pub points 150 / 160 160 / 160
Issue response (median) 0 days 0 days
Contributors 99 99
Last commit 6 days ago today
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