|
1 | 1 | # Supabase Test Suite |
2 | 2 |
|
3 | 3 | <p align="center" width="100%"> |
4 | | - <img height="250" src="https://raw.githubusercontent.com/launchql/supabase-test/refs/heads/main/docs/img/logos.svg" /> |
| 4 | + <img height="250" src="https://raw.githubusercontent.com/constructive-io/supabase-test-suite/refs/heads/main/docs/img/logos.svg" /> |
5 | 5 | </p> |
6 | 6 |
|
7 | 7 | <p align="center" width="100%"> |
8 | | - <a href="https://github.com/launchql/supabase-test/actions/workflows/ci.yml"> |
9 | | - <img height="20" src="https://github.com/launchql/supabase-test/actions/workflows/ci.yml/badge.svg" /> |
| 8 | + <a href="https://github.com/constructive-io/supabase-test-suite/actions/workflows/ci.yml"> |
| 9 | + <img height="20" src="https://github.com/constructive-io/supabase-test-suite/actions/workflows/ci.yml/badge.svg" /> |
10 | 10 | </a> |
11 | | - <a href="https://github.com/launchql/supabase-test/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a> |
| 11 | + <a href="https://github.com/constructive-io/supabase-test-suite/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a> |
12 | 12 | </p> |
13 | 13 |
|
14 | | -A friendly playground for building and validating Supabase Row-Level Security (RLS) using LaunchQL. It includes real-world examples, migrations, and a comprehensive test suite you can run locally. |
| 14 | +A friendly playground for building and validating Supabase Row-Level Security (RLS). It includes real-world examples, migrations, and a comprehensive test suite you can run locally. |
15 | 15 |
|
16 | 16 | Built with [`supabase-test`](https://www.npmjs.com/package/supabase-test) — a Supabase-optimized version of [`pgsql-test`](https://www.npmjs.com/package/pgsql-test) for instant, isolated Postgres test databases with automatic rollbacks and Supabase defaults. |
17 | 17 |
|
@@ -41,7 +41,7 @@ pnpm test:watch |
41 | 41 |
|
42 | 42 | ## Repository Structure |
43 | 43 |
|
44 | | -This is a LaunchQL workspace combining `pnpm` and `pgpm` for modular Postgres packages: |
| 44 | +This is a pgpm workspace combining `pnpm` and `pgpm` for modular Postgres packages: |
45 | 45 |
|
46 | 46 | - **`packages/supabase`** - Supabase-focused SQL, tests, and helpers |
47 | 47 | - **`packages/hello-world`** - Demo extension showcasing RLS with users/products |
@@ -85,13 +85,35 @@ Common issues: |
85 | 85 | - Check that ports match those shown by `npx supabase start` |
86 | 86 | - Use Node.js 20+ to avoid compatibility issues |
87 | 87 |
|
88 | | -## Related LaunchQL Tooling |
| 88 | +## Education and Tutorials |
89 | 89 |
|
90 | | -* [launchql/pgsql-test](https://github.com/launchql/launchql/tree/main/packages/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation. |
91 | | -* [launchql/supabase-test](https://github.com/launchql/launchql/tree/main/packages/supabase-test): **🧪 Supabase-native test harness** preconfigured for the local Supabase stack—per-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready. |
| 90 | + 1. 🚀 [Quickstart: Getting Up and Running](https://constructive.io/learn/quickstart) |
| 91 | +Get started with modular databases in minutes. Install prerequisites and deploy your first module. |
| 92 | + |
| 93 | + 2. 📦 [Modular PostgreSQL Development with Database Packages](https://constructive.io/learn/modular-postgres) |
| 94 | +Learn to organize PostgreSQL projects with pgpm workspaces and reusable database modules. |
| 95 | + |
| 96 | + 3. ✏️ [Authoring Database Changes](https://constructive.io/learn/authoring-database-changes) |
| 97 | +Master the workflow for adding, organizing, and managing database changes with pgpm. |
| 98 | + |
| 99 | + 4. 🧪 [End-to-End PostgreSQL Testing with TypeScript](https://constructive.io/learn/e2e-postgres-testing) |
| 100 | +Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation. |
| 101 | + |
| 102 | + 5. ⚡ [Supabase Testing](https://constructive.io/learn/supabase) |
| 103 | +Use TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts. |
| 104 | + |
| 105 | + 6. 💧 [Drizzle ORM Testing](https://constructive.io/learn/drizzle-testing) |
| 106 | +Run full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement. |
| 107 | + |
| 108 | + 7. 🔧 [Troubleshooting](https://constructive.io/learn/troubleshooting) |
| 109 | +Common issues and solutions for pgpm, PostgreSQL, and testing. |
| 110 | + |
| 111 | +## Credits |
| 112 | + |
| 113 | +**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).** |
92 | 114 |
|
93 | 115 | ## Disclaimer |
94 | 116 |
|
95 | | -AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. |
| 117 | +AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. |
96 | 118 |
|
97 | 119 | No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value. |
0 commit comments