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
elementary_test

Testing library for apps built with the Elementary architecture.

pub.devRemove
ScoresHealth82 (best)68
Maintenance53 (best)45
Quality100100
Popularity93 (best)35
Community8080
Compatibility100100
UsageDownloads (30 days)1.5M (best)1.6k
Likes669 (best)27
Pub points160 / 160160 / 160
GitHub stars12k (best)140
MaintenanceLatest release10.0.0, 2 years ago2.1.1, a year ago (best)
Major versions in 12 months00
Contributors100+ (best)13
Publisherbloclibrary.develementaryteam.dev
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFlutter widgets
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 Elementary WidgetModels
  • Provides lifecycle manipulation tools like tester.init() and tester.didChangeDependencies()
Weaknesses
  • Strictly tied to the bloc ecosystem
  • Strictly tied to the elementary ecosystem
  • Limited utility outside of the Elementary architecture
Warnings
  • Quiet but busy
None
bloc_test vs elementary_test: which Flutter package should you use? | pubscout