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
google_sign_in_mocks

Mocks for Google Sign In to write unit tests for authentication.

pub.devRemove
ScoresHealth78 (best)73
Maintenance87 (best)67
Quality7681 (best)
Popularity59 (best)58
Community80 (best)74
Compatibility8593 (best)
UsageDownloads (30 days)287k (best)13k
Likes1135 (best)
Pub points140 / 160150 / 160 (best)
GitHub stars872 (best)9
MaintenanceLatest release3.5.23, 5 weeks ago (best)0.4.2, 2 months ago
Major versions in 12 months00
Contributors100+ (best)7
Publishertools.dart.devwafrat.com
FitPlatformsAll (pure Dart)Android, iOS, Web, macOS
WASM-readyNoYes
KindPure DartFlutter widgets
Code generationYesNo
Direct dependencies152 (best)
LicenseBSD-3-CLAUSEBSD-2-CLAUSE
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
  • Easy to set up and use in unit tests alongside firebase_auth_mocks.
  • Allows simulation of canceled sign-ins and custom exceptions.
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 only to mocking Google Sign In functionality for testing.
WarningsNoneNone
build_test vs google_sign_in_mocks: which Flutter package should you use? | pubscout