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
build_test

Utilities for unit testing Dart build_runner builders in memory

pub.devRemove
ScoresHealth79 (best)78
Maintenance93 (best)87
Quality81 (best)76
Popularity5359 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)643k (best)287k
Likes411 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars11k (best)872
MaintenanceLatest release0.4.5, 3 weeks ago (best)3.5.23, 5 weeks ago
Major versions in 12 months00
Contributors100+100+
Publishertools.dart.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies6 (best)15
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
  • Runs builds entirely in memory, fast and isolated
  • Supports real source files via TestReaderWriter
  • Built-in helpers for resolving source code with analyzer
  • Easy to read generated assets as strings
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
  • Only works with build_runner; not for general code generation
  • Requires Dart 3.11+ and specific build_runner versions
  • Limited to builder testing, not general utilities
WarningsNoneNone
analyzer_testing vs build_test: which Flutter package should you use? | pubscout