PostgreSQL SQL Test Runner

JSON →
library 1.0.7 ·javascript
verified May 27, 2026

pg-test is a focused command-line interface (CLI) utility designed for running tests directly from `.sql` files against a PostgreSQL database. As of version 1.0.7, it provides a straightforward mechanism for database-centric testing, executing each `.sql` file in a specified directory sequentially and stopping on the first failure. Its release cadence appears to be stable and utility-focused, without frequent major updates. Key differentiators include its simplicity, direct execution of SQL scripts, and reliance on a `DB` environment variable for database connection, making it suitable for CI environments like Travis-CI. Unlike typical JavaScript test runners, pg-test primarily operates on raw SQL files rather than integrating with JS/TS test frameworks.

total hits 19
actors 8 distinct systems
last hit 5d ago Bingbot
MetaBot
4
GPTBot
2
Script
2
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇳🇱 Netherlands · 🇨🇦 Canada · 🇮🇳 India