Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebloc_presentation_test

A testing library for Blocs and Cubits utilizing BlocPresentationMixin.

pub.devRemove
bloc_test

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

pub.devRemove
ScoresHealth6282 (best)
Maintenance1353 (best)
Quality100100
Popularity5493 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)41k1.6M (best)
Likes14669 (best)
Pub points160 / 160160 / 160
GitHub stars3512k (best)
MaintenanceLatest release1.2.0, 2 years ago (best)10.0.0, 2 years ago
Major versions in 12 months00
Contributors12100+ (best)
Publisherleancode.cobloclibrary.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies65 (best)
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Simplifies testing of presentation streams with mock utilities
  • Integrates well with mocktail and bloc testing workflows
  • 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
  • Strictly tied to the bloc_presentation package ecosystem
  • Limited usefulness outside of specific mixin-based Bloc architectures
  • Strictly tied to the bloc ecosystem
WarningsNone
  • Quiet but busy
bloc_presentation_test vs bloc_test: which Flutter package should you use? | pubscout