• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-flutter / 39933553707
94%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2026 09:42AM UTC
Jobs 12
Files 183
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Oct 2026 09:40AM UTC coverage: 91.938% (-0.004%) from 91.942%
39933553707

push

github

web-flow
refactor(supabase_test)!: take HttpMethod for method matching and align names with supabase_flutter's testing helpers (#2025)

Linear:
https://linear.app/supabase/issue/SDK-2358/refactorsupabase-test-take-httpmethod-for-method-matching-and-align

## Changes

- **`method:` takes `HttpMethod`.** `stub`, `stubText`, `stubError`,
`stubStall`, `stubStatuses`, `stubHandler`, `stubTable` and `requestsTo`
now take `HttpMethod?` instead of a raw `String`, so a typo no longer
compiles. Every call site in the workspace, the README, the example, the
skill and `AGENTS.md` moved from `HttpMethod.post.value` (or `'POST'`)
to `HttpMethod.post`. `RecordedRequest.method` stays a `String`, since
it is what went over the wire. `package:supabase_test` re-exports
`HttpMethod`, so a test that imports only `supabase_test` and, for
example, `supabase_storage` can still call these methods.
- **`testSupabaseClient` and `initializeTestSupabase` take the same
parameter names.** `apiKey` became `publishableKey`, and `realtime:
MockRealtimeTransport` became `realtimeTransport: WebSocketTransport`,
matching `initializeTestSupabase`. A mock transport is passed as
`realtimeTransport: realtime.call` in both places.
- **The default key is an `sb_publishable_` key** in both helpers
(`testPublishableKey` in `supabase_flutter/testing.dart` is now a
`const`). Signed-out requests now carry the headers a production
publishable key produces. `publishableKey` stays nullable in both, and
`null` falls back to the default.
- **`MIGRATION.md`** gets a short "Testing" section covering the renames
and the new default key.

## Notes for review

- **Decision: `realtimeTransport` is typed `WebSocketTransport` in both
helpers.** `supabase_flutter` cannot depend on `supabase_test`, and the
core `implicit_call_tearoffs` lint flags passing the mock object
directly. Keeping `MockRealtimeTransport` in `testSupabaseClient` would
leave the two signatures different, so both now take
`WebSocketTransport` and call... (continued)

11 of 11 new or added lines in 2 files covered. (100.0%)

11244 of 12230 relevant lines covered (91.94%)

5.63 hits per line

Jobs
ID Job ID Ran Files Coverage
4 supabase_auth - 39933553707.4 23 Oct 2026 09:46AM UTC 34
93.44
GitHub Action Run
5 supabase_flutter - 39933553707.5 23 Oct 2026 09:43AM UTC 16
80.52
GitHub Action Run
6 iceberg - 39933553707.6 23 Oct 2026 09:43AM UTC 6
71.32
GitHub Action Run
7 supabase_test - 39933553707.7 23 Oct 2026 09:43AM UTC 9
92.97
GitHub Action Run
8 supabase_typegen - 39933553707.8 23 Oct 2026 09:43AM UTC 6
94.19
GitHub Action Run
9 supabase_functions - 39933553707.9 23 Oct 2026 09:42AM UTC 4
93.28
GitHub Action Run
10 supabase_storage - 39933553707.10 23 Oct 2026 09:44AM UTC 10
96.26
GitHub Action Run
11 supabase_realtime - 39933553707.11 23 Oct 2026 09:44AM UTC 14
91.15
GitHub Action Run
12 postgrest - 39933553707.12 23 Oct 2026 09:46AM UTC 28
92.54
GitHub Action Run
9 supabase - 39932128141.9 23 Oct 2026 09:34AM UTC 20
94.16
GitHub Action Run
12 supabase_common - 39927507934.12 23 Oct 2026 08:54AM UTC 35
93.65
GitHub Action Run
3 yet_another_json_isolate - 39926427044.3 23 Oct 2026 08:44AM UTC 1
98.68
GitHub Action Run
Source Files on build 39933553707
  • Tree
  • List 183
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39933553707
  • 941320dd on github
  • Prev Build on main (#39932128141)
  • Next Build on main (#39934644218)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc