Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributealchemist

Streamlined golden testing tool for Flutter with local and CI-safe output support

pub.devRemove
bloc_test

A testing library that makes it easy to test blocs and cubits.

pub.devRemove
ScoresHealth94 (best)82
Maintenance98 (best)53
Quality100100
Popularity8693 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)383k1.6M (best)
Likes227669 (best)
Pub points160 / 160160 / 160
GitHub stars30412k (best)
MaintenanceLatest release0.15.0, 4 days ago (best)10.0.0, 2 years ago
Major versions in 12 months00
Contributors23100+ (best)
Publisherbetterment.devbloclibrary.dev
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies55
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Solves cross-platform font rendering issues on CI by rendering obscured text using the Ahem font
  • Provides clean `GoldenTestGroup` and `GoldenTestScenario` APIs to arrange multi-widget tests in a grid
  • Supports fine-grained configuration including pixel difference thresholds (`diffThreshold`) and custom pumping
  • Simplifies asynchronous bloc testing with clear syntax
  • Provides built-in support for seeding states, skipping events, and waiting on async operations
  • Integrates seamlessly with package:test and mocktail
Weaknesses
  • Version 0.15.0 introduces a breaking change requiring standalone `material_ui`/`cupertino_ui` packages and minimum Flutter 3.44 / Dart 3.12
  • Generates separate sets of golden files for CI and local platforms, increasing repository file size
  • Strictly tied to the bloc ecosystem
WarningsNone
  • Quiet but busy
alchemist vs bloc_test: which Flutter package should you use? | pubscout