Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeriverpod_test

A testing library for easily testing Riverpod providers.

pub.devRemove
state_notifier_test

A testing utility library for StateNotifier and Riverpod

pub.devRemove
ScoresHealth52 (best)48
Maintenance6 (best)0
Quality9696
Popularity43 (best)32
Community5252
Compatibility100100
UsageDownloads (30 days)4.4k (best)1.8k
Likes28 (best)22
Pub points150 / 160150 / 160
GitHub stars13 (best)8
MaintenanceLatest release0.1.9, 2 years ago (best)0.0.10, 4 years ago
Major versions in 12 months00
Contributors33
Publishereronsoft.comthat-dev.me
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies4 (best)5
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • 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.
  • Clear, declarative syntax for testing emitted states
  • Supports seeding initial states, skipping emissions, and custom verifications
Weaknesses
  • Tightly coupled to the Riverpod state management library.
  • Relies on a third-party port of bloc_test which may lag behind official bloc_test updates
  • Limited to StateNotifier architectures
WarningsNoneNone
riverpod_test vs state_notifier_test: which Flutter package should you use? | pubscout