Show HN: Supabase-Test – Fast Isolated Postgres DBs for Testing Supabase RLS(npmjs.com)
npmjs.com
Show HN: Supabase-Test – Fast Isolated Postgres DBs for Testing Supabase RLS
https://www.npmjs.com/package/supabase-test
10 コメント
This reminds me of a supabase testcontainers idea I explored.
[under-the-rug stub]
[see https://news.ycombinator.com/item?id=45988611 for explanation]
[see https://news.ycombinator.com/item?id=45988611 for explanation]
Great tutorials.
thank you! Appreciate that.
Always want to make the glide path and ensure folks can run the software replicably on their machines!
happy to help if you run into any issues :)
Always want to make the glide path and ensure folks can run the software replicably on their machines!
happy to help if you run into any issues :)
Super cool!!! Congrats
thank you! much appreciated ;) hope it helps you guys ship secure supabase projects!
Love this
appreciate it! let us know if you and your team have any feedback, cheers!!!
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 :)