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
build_verify

Utility to verify generated Dart code is up-to-date during build

pub.devRemove
ScoresHealth78 (best)74
Maintenance87 (best)56
Quality76100 (best)
Popularity5978 (best)
Community80 (best)58
Compatibility8585
UsageDownloads (30 days)287k (best)257k
Likes1155 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars872 (best)61
MaintenanceLatest release3.5.23, 5 weeks ago (best)3.1.1, a year ago
Major versions in 12 months00
Contributors100+ (best)4
Publishertools.dart.devkevmoo.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies153 (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, just a single test function
  • Async and works with flutter test
  • Prints executed commands for debugging
  • Supports custom git diff arguments
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
  • Requires Git repository to run
  • Depends on build_runner being configured
  • Requires Dart >=3.4.0 for latest version
WarningsNoneNone
build_test vs build_verify: which Flutter package should you use? | pubscout