Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeprovider_test

A testing library which makes it easy to test providers.

pub.devRemove
riverpod_test

A testing library for easily testing Riverpod providers.

pub.devRemove
ScoresHealth64 (best)52
Maintenance80 (best)6
Quality100 (best)96
Popularity1843 (best)
Community652 (best)
Compatibility100100
UsageDownloads (30 days)8354.4k (best)
Likes1128 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars013 (best)
MaintenanceLatest release2.0.3, 6 weeks ago (best)0.1.9, 2 years ago
Major versions in 12 months00
Contributors13 (best)
PublisherUnverifiederonsoft.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies3 (best)4
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Simplifies testing provider state changes and notifications
  • Supports seed states, async operations via wait, and verification callbacks
  • Familiar API structure for developers coming from bloc_test
  • 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
  • Limited to the Provider state management library
  • Not documented for non-Flutter pure Dart packages
  • Tightly coupled to the Riverpod state management library.
WarningsNoneNone
provider_test vs riverpod_test: which Flutter package should you use? | pubscout