Supabase-Test
Fast Isolated Postgres DBs for Testing Supabase RLS
Details
- External ID
- 45996064
- Source
- HN
- Company
- —
- Product
- Supabase-Test
- Website domain
- npmjs.com
- Launched
- Nov. 20, 2025
- Cohort
- —
- Upvotes
- 30
- Upvotes percentile
- 0.7521834061135371
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
Hi HN — we've built a testing framework for Supabase that spins up fast, isolated Postgres databases for each test case. It’s designed to make RLS policies easy to validate with real database state, without global test fixtures or mock auth.Features: - Instant isolated Postgres DBs per test - Automatic rollback after each test - RLS-native testing with `.setContext()` for auth simulation - Flexible seeding (SQL, CSV, JSON, JS) - Works with Jest, Mocha, and any async test runner - CI-friendly (runs cleanly in GitHub Actions)We also published example projects and a free set of tutorials: https://launchql.com/learn/supabasePackage: https://www.npmjs.com/package/supabase-testSource + full test suite: https://github.com/launchql/supabase-test-suiteHappy to answer questions and get feedback, cheers :)
Enrichment
- Theme
- database infrastructure and developer tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Commercial product
- Normalized one-liner
- isolated postgres for testing
- Manually corrected
- False
Could you build this?
Partial Building test runners is standard, but spinning up ephemeral, instantly isolated Postgres databases with custom Supabase extensions (GoTrue, PostgREST, pg_graphql, RLS) requires deep database and container orchestration.
What it would actually take: A production version requires orchestrating lightweight Docker containers or copy-on-write Postgres database instances (using templates or ZFS/Btrfs snapshotting) to achieve sub-second provisioning. It also requires replicating the exact Supabase auth context (JWT claims, `auth.uid()`, `request.jwt.claim`) and custom extensions natively in Postgres, demanding deep relational database and testing infrastructure expertise.
Discussion
10 comments analyzed.
Competitors mentioned: Supabase testcontainers
Competitors
Other products that read as similar to this one — 158 launches clear the similarity bar, closest 8 shown.
Attention rank: #48 of 159 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 21 days after the earliest competitor.
- Nuvix · hn · 2025-10-30 · 5 upvotes · similarity 0.52
- DDL to Data · hn · 2026-01-06 · 55 upvotes · similarity 0.47
- Supapool · hn · 2026-07-29 · 31 upvotes · similarity 0.47
- DBOS Java · hn · 2025-11-13 · 114 upvotes · similarity 0.46
- Replacebase · hn · 2026-02-25 · 6 upvotes · similarity 0.46
- Pgrust, Postgres in Rust (passing 100% of Postgres regression tests) · hn · 2026-06-25 · 6 upvotes · similarity 0.44
- Supabase Multi-Tenant SaaS Next.js · ph · 2026-09-24 · 2 upvotes · similarity 0.44
- PostgreSQL course with database running in your browser · hn · 2026-07-19 · 6 upvotes · similarity 0.44
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.