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
riverpod_test

A testing library for easily testing Riverpod providers.

pub.devRemove
ScoresHealth82 (best)52
Maintenance53 (best)6
Quality100 (best)96
Popularity93 (best)43
Community80 (best)52
Compatibility100100
UsageDownloads (30 days)1.6M (best)4.4k
Likes669 (best)28
Pub points160 / 160 (best)150 / 160
GitHub stars12k (best)13
MaintenanceLatest release10.0.0, 2 years ago0.1.9, 2 years ago (best)
Major versions in 12 months00
Contributors100+ (best)3
Publisherbloclibrary.deveronsoft.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies54 (best)
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 various Riverpod provider types including Notifier, AsyncNotifier, and StateNotifier.
  • Port of bloc_test which makes it familiar for developers coming from the BLoC library.
Weaknesses
  • Strictly tied to the bloc ecosystem
  • Tightly coupled to the Riverpod state management library.
Warnings
  • Quiet but busy
None
bloc_test vs riverpod_test: which Flutter package should you use? | pubscout