Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecharlatan

Configure and provide fake HTTP responses to the dio HTTP client for testing.

pub.devRemove
mock_supabase_http_client

A mock Supabase client for unit testing API calls without network requests.

pub.devRemove
ScoresHealth6371 (best)
Maintenance3266 (best)
Quality100 (best)96
Popularity34 (best)29
Community7474
Compatibility100100
UsageDownloads (30 days)2k (best)1.2k
Likes2022 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars16 (best)15
MaintenanceLatest release0.5.0, 2 years ago0.1.0, 2 months ago (best)
Major versions in 12 months00
Contributors77
Publisherbetterment.devsupabase.io
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies42 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Makes testing Dio HTTP calls straightforward and readable.
  • Supports URI templates and custom request matching logic.
  • Allows testing database operations and filtering easily in memory
  • Supports custom edge function handlers and mock RPC functions
  • Provides error trigger callbacks to simulate postgrest exceptions
Weaknesses
  • Limited specifically to the Dio HTTP client.
  • Not documented to support complex mock server scenarios beyond adapter-level faking.
  • Discontinued in favor of supabase_test once supabase_flutter v3 is released
  • Does not support nested referenced table data or table schemas
  • Does not support auth, realtime, or storage
WarningsNoneNone
charlatan vs mock_supabase_http_client: which Flutter package should you use? | pubscout