ephemeralpg

Run tests on an isolated, temporary Postgres database

brewmacoslinux
Try with needOr install directly
Source

About

Run tests on an isolated, temporary Postgres database

Commands

ephemeralpg

Examples

Start a temporary PostgreSQL instance for testing$ ephemeralpg
Run tests using ephemeralpg with a custom database name$ ephemeralpg -d testdb
Start ephemeral Postgres and execute SQL commands$ ephemeralpg -c 'CREATE TABLE test (id INT); SELECT * FROM test;'