Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebloc_test

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

pub.devRemove
rx_bloc_test

Easily test rxBlocs and states from the FlutterRxBloc package.

pub.devRemove
ScoresHealth82 (best)50
Maintenance53 (best)16
Quality100100
Popularity93 (best)19
Community8080
Compatibility100100
UsageDownloads (30 days)1.6M (best)327
Likes669 (best)17
Pub points160 / 160160 / 160
GitHub stars12k (best)67
MaintenanceLatest release10.0.0, 2 years ago (best)5.0.0, 2 years ago
Major versions in 12 months00
Contributors100+ (best)23
Publisherbloclibrary.devprimeholding.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies55
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • 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
  • Simplifies testing of RxBloc streams and states.
  • Supports fake async execution to speed up tests involving throttle or debounce time.
Weaknesses
  • Strictly tied to the bloc ecosystem
  • Strictly coupled to the rx_bloc ecosystem.
  • Limited documentation outside of README examples.
Warnings
  • Quiet but busy
None
bloc_test vs rx_bloc_test: which Flutter package should you use? | pubscout