Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeelementary_test

Testing library for apps built with the Elementary architecture.

pub.devRemove
riverpod_test

A testing library for easily testing Riverpod providers.

pub.devRemove
ScoresHealth68 (best)52
Maintenance45 (best)6
Quality100 (best)96
Popularity3543 (best)
Community80 (best)52
Compatibility100100
UsageDownloads (30 days)1.6k4.4k (best)
Likes2728 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars140 (best)13
MaintenanceLatest release2.1.1, a year ago (best)0.1.9, 2 years ago
Major versions in 12 months00
Contributors13 (best)3
Publisherelementaryteam.deveronsoft.com
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies44
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simplifies testing of Elementary WidgetModels
  • Provides lifecycle manipulation tools like tester.init() and tester.didChangeDependencies()
  • 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 elementary ecosystem
  • Limited utility outside of the Elementary architecture
  • Tightly coupled to the Riverpod state management library.
WarningsNoneNone
elementary_test vs riverpod_test: which Flutter package should you use? | pubscout