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
testainers

Manages containers for testing purposes in Dart and Flutter.

pub.devRemove
ScoresHealth82 (best)53
Maintenance53 (best)38
Quality100 (best)96
Popularity93 (best)15
Community80 (best)46
Compatibility100 (best)85
UsageDownloads (30 days)1.5M (best)933
Likes669 (best)8
Pub points160 / 160 (best)150 / 160
GitHub stars12k (best)13
MaintenanceLatest release10.0.0, 2 years ago0.4.0, 6 months ago (best)
Major versions in 12 months00
Contributors100+ (best)2
Publisherbloclibrary.devtestainers.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies50 (best)
LicenseMITMIT
Setup effortLowMedium
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
  • Provides predefined support for common services like PostgreSQL, Redis, and MongoDB.
  • Seamlessly integrates with the standard Dart test library for setup and teardown hooks.
Weaknesses
  • Strictly tied to the bloc ecosystem
  • Requires a running Docker/container environment to function.
  • Limited documentation outside of basic usage examples.
Warnings
  • Quiet but busy
None
bloc_test vs testainers: which Flutter package should you use? | pubscout