Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeanalyzer_testing

Testing utilities and mocks for Dart analyzer and analysis server plugins.

pub.devRemove
mocktailx

Utility functions for the mocktail library to increase productivity in tests.

pub.devRemove
ScoresHealth79 (best)41
Maintenance93 (best)1
Quality8181
Popularity53 (best)38
Community80 (best)11
Compatibility85100 (best)
UsageDownloads (30 days)643k (best)6.6k
Likes413 (best)
Pub points150 / 160150 / 160
GitHub stars11k (best)5
MaintenanceLatest release0.4.5, 3 weeks ago (best)0.0.7, 3 years ago
Major versions in 12 months00
Contributors100+ (best)2
Publishertools.dart.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies61 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Maintained directly as part of the Dart SDK ecosystem
  • Simplifies mocking package configurations and mock dependencies like Flutter stubs in analyzer tests
  • Reduces boilerplate code for common stubbing patterns like void functions and streams.
  • Provides convenient ordered return and answer sequences.
  • Exports mocktail so you do not need to import both packages.
Weaknesses
  • Very tightly coupled to specific versions of the analyzer package (frequently requiring exact minor/patch versions)
  • Sparse documentation with no usage examples provided in the README
  • Dependent on the mocktail package and its version updates.
  • Very narrow scope focused only on syntax sugar for mocktail.
WarningsNoneNone
analyzer_testing vs mocktailx: which Flutter package should you use? | pubscout