Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemockito

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

pub.devRemove
patrol_log

Log package for Patrol, a Flutter-native UI testing framework

pub.devRemove
ScoresHealth87 (best)86
Maintenance8092 (best)
Quality87100 (best)
Popularity95 (best)59
Community8080
Compatibility100100
UsageDownloads (30 days)2.8M (best)830k
Likes1.5k (best)7
Pub points130 / 160160 / 160 (best)
GitHub stars8711.5k (best)
MaintenanceLatest release5.8.1, 4 months ago0.10.2, 3 weeks ago (best)
Major versions in 12 months00
Contributors100+ (best)96
Publisherdart.devleancode.co
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies103 (best)
LicenseAPACHE-2.0APACHE-2.0
Setup effortMediumLow
JudgementStrengths
  • Robust behavior verification and stubbing features.
  • Supports null safety and generates nice mocks to avoid runtime type exceptions.
  • Tailored specifically for Patrol testing workflow
  • Supports reading and writing log entries across multiple platforms
Weaknesses
  • Requires running build_runner for code generation.
  • Has an awkward syntax requirement for naming arguments within argument matchers.
  • Not useful outside of the Patrol ecosystem
  • Limited documentation on standalone usage beyond Patrol
WarningsNoneNone
mockito vs patrol_log: which Flutter package should you use? | pubscout