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
golden_test

A zero-dependency wrapper for Flutter golden tests with theme, locale, and multi-device support.

pub.devRemove
ScoresHealth7979
Maintenance92 (best)91
Quality8194 (best)
Popularity53 (best)44
Community80 (best)58
Compatibility85100 (best)
UsageDownloads (30 days)643k (best)4.3k
Likes431 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars11k (best)17
MaintenanceLatest release0.4.5, 3 weeks ago2.2.0, 3 weeks ago (best)
Major versions in 12 months0 (best)2
Contributors100+ (best)4
Publishertools.dart.devgoldentest.dev
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies65 (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 golden test boilerplate significantly.
  • Built-in support for multi-device, dark mode, and localized test matrices.
  • Includes software keyboard simulation and accessibility text scale options.
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
  • Opinionated structure that may not fit custom testing architectures.
  • Turning on certain features like keyboard simulation can invalidate existing golden images.
WarningsNoneNone
analyzer_testing vs golden_test: which Flutter package should you use? | pubscout