Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuild_test

Utilities for unit testing Dart build_runner builders in memory

pub.devRemove
test_screenshot

Take screenshots during your flutter unit tests for debugging

pub.devRemove
ScoresHealth78 (best)41
Maintenance87 (best)13
Quality76 (best)72
Popularity59 (best)31
Community80 (best)11
Compatibility85100 (best)
UsageDownloads (30 days)287k (best)6k
Likes11 (best)9
Pub points140 / 160 (best)130 / 160
GitHub stars872 (best)6
MaintenanceLatest release3.5.23, 5 weeks ago (best)0.0.8, 2 years ago
Major versions in 12 months00
Contributors100+ (best)2
Publishertools.dart.devUnverified
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindPure DartFlutter widgets
Code generationYesNo
Direct dependencies154 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • 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
  • Simple API with a Screenshotter widget and tester extension method
  • Supports capturing screenshots with fonts and network images
Weaknesses
  • 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
  • Limited to debugging purposes during unit tests
  • Not documented for pixel-by-pixel golden test matching
WarningsNoneNone
build_test vs test_screenshot: which Flutter package should you use? | pubscout