Supabase-Test – Fast Isolated Postgres DBs for Testing Supabase RLS
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 cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Self-Hosting Supabase on Your Own Postgres RDS
Supabase Vecs – vector client for Postgres
Pg_yregress, Structured Testing for Postgres
SaaS template/boilerplate w SvelteKit, Tailwind, Supabase and Postgres
testing
testing
Testing
PgModeler – EER Diagramming for postgres
Now supporting MySQL, Postgres, Redis, Mongo
GraphQL for Postgres