Twitter/X

danlynch announced pglite-test, a pglite testing framework integrated with pgpm…

Brief

pglite-test is a new testing framework (announced by danlynch) that integrates with pgpm to let developers run real Postgres migrations, triggers, RLS policies, roles, and pgvector inside their Node test runner. It removes the need for Docker, a separate server, or CI services—tests run locally with a single pnpm test command.

Why it matters

danlynch announced pglite-test, a pglite testing framework integrated with pgpm (pgpm integration explicit).

Key details

  • pglite-test runs real migrations, triggers, RLS policies, roles, and pgvector entirely inside a Node test runner—no Docker, no server, no CI—invoked with pnpm test.
Source evidence

To show appreciation for what @ElectricSQL built with PGlite, we're launching a pglite test framework and integrated it with pgpm :)

We built pglite-test to run real migrations, triggers, RLS policies, roles, and pgvector entirely inside your Node test runner with PGlite.

No Docker. No server. No CI services. Just pnpm test.

⚡️ constructive.io/blog/pglite-…

@constructive_io