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
flame_test

Classes and helpers for testing applications built with the Flame Engine.

pub.devRemove
ScoresHealth7880 (best)
Maintenance87 (best)82
Quality76100 (best)
Popularity59 (best)40
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)287k (best)25k
Likes11 (best)7
Pub points140 / 160160 / 160 (best)
GitHub stars87211k (best)
MaintenanceLatest release3.5.23, 5 weeks ago (best)2.3.1, 3 months ago
Major versions in 12 months00
Contributors100+100+
Publishertools.dart.devflame-engine.org
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindPure DartFlutter widgets
Code generationYesNo
Direct dependencies156 (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
  • Tailored specifically for the Flame game engine ecosystem.
  • Helps simplify testing loops and component behaviors in Flame.
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
  • Strictly tied to the Flame engine; useless for non-Flame projects.
  • Documentation outside of the package description and repository is sparse.
WarningsNoneNone
build_test vs flame_test: which Flutter package should you use? | pubscout