Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_hooks_test

Testing utilities for Flutter hooks that avoid writing wrapper widgets.

pub.devRemove
mocktailx

Utility functions for the mocktail library to increase productivity in tests.

pub.devRemove
ScoresHealth54 (best)41
Maintenance8 (best)1
Quality100 (best)81
Popularity43 (best)38
Community52 (best)11
Compatibility100100
UsageDownloads (30 days)18k (best)6.6k
Likes913 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars33 (best)5
MaintenanceLatest release2.0.0, a year ago (best)0.0.7, 3 years ago
Major versions in 12 months00
Contributors3 (best)2
Publisherwasabeef.jpUnverified
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simplifies custom hook testing without requiring manual widget boilerplate
  • Provides async waiting utilities like waitFor and waitForNextUpdate
  • Supports wrappers to supply providers to hooks
  • Reduces boilerplate code for common stubbing patterns like void functions and streams.
  • Provides convenient ordered return and answer sequences.
  • Exports mocktail so you do not need to import both packages.
Weaknesses
  • Not necessary if your hooks are simple and tested purely via widget tests
  • Dependent on the mocktail package and its version updates.
  • Very narrow scope focused only on syntax sugar for mocktail.
WarningsNoneNone
flutter_hooks_test vs mocktailx: which Flutter package should you use? | pubscout