Su

Supabase-Test – Fast Isolated Postgres DBs for Testing Supabase RLS

Hacker News

Supabase-Test – Fast Isolated Postgres DBs for Testing Supabase RLS

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/supabase Package: https://www.npmjs.com/package/supabase-test Source + full test suite: https://github.com/launchql/supabase-test-suite Happy to answer questions and get feedback, cheers :)

Share card

Actual performance

30points
10comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: context · Missing: mac, agents, macos
69%69% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
67%67% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
51%51% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: friendly · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
39%39% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Se
Self-Hosting Supabase on Your Own Postgres RDS77%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Self-Hosting Supabase on Your Own Postgres RDS

Hacker News5
Su
Supabase Vecs – vector client for Postgres62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Supabase Vecs – vector client for Postgres

Hacker News10
Pg
Pg_yregress, Structured Testing for Postgres45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pg_yregress, Structured Testing for Postgres

Hacker News56
Sa
SaaS template/boilerplate w SvelteKit, Tailwind, Supabase and Postgres61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SaaS template/boilerplate w SvelteKit, Tailwind, Supabase and Postgres

Hacker News38
test
test17%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

testing

Indie Hackers
test
test17%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

testing

Indie Hackers
Test
Test17%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Testing

Indie Hackers
Pg
PgModeler – EER Diagramming for postgres73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PgModeler – EER Diagramming for postgres

Hacker News9
No
Now supporting MySQL, Postgres, Redis, Mongo60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Now supporting MySQL, Postgres, Redis, Mongo

Hacker News3
Gr
GraphQL for Postgres83%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GraphQL for Postgres

Hacker News195