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
provider_test

A testing library which makes it easy to test providers.

pub.devRemove
ScoresHealth82 (best)64
Maintenance5380 (best)
Quality100100
Popularity93 (best)18
Community80 (best)6
Compatibility100100
UsageDownloads (30 days)1.6M (best)835
Likes669 (best)11
Pub points160 / 160160 / 160
GitHub stars12k (best)0
MaintenanceLatest release10.0.0, 2 years ago2.0.3, 6 weeks ago (best)
Major versions in 12 months00
Contributors100+ (best)1
Publisherbloclibrary.devUnverified
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies53 (best)
LicenseMITBSD-3-CLAUSE
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 provider state changes and notifications
  • Supports seed states, async operations via wait, and verification callbacks
  • Familiar API structure for developers coming from bloc_test
Weaknesses
  • Strictly tied to the bloc ecosystem
  • Limited to the Provider state management library
  • Not documented for non-Flutter pure Dart packages
Warnings
  • Quiet but busy
None
bloc_test vs provider_test: which Flutter package should you use? | pubscout