Friday, November 21, 2025

Show HN: Supabase-Test – Fast Isolated Postgres DBs for Testing Supabase RLS https://ift.tt/PxdVJ0O

Show HN: 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://ift.tt/6BcYy7i Package: https://ift.tt/w0x2FHc Source + full test suite: https://ift.tt/ok9HdGc Happy to answer questions and get feedback, cheers :) https://ift.tt/w0x2FHc November 21, 2025 at 12:09AM

No comments:

Post a Comment

Show HN: The Cascade Graph – An interactive map of AI and energy constraints https://ift.tt/O47EcUS

Show HN: The Cascade Graph – An interactive map of AI and energy constraints Hello, I wanted to share with you all a interactive map of the ...