1.0.7 • Published 4 years ago

pg-test v1.0.7

Weekly downloads
146
License
MIT
Repository
github
Last release
4 years ago

pg-test

Test runner for PostgreSQL tests.

Install

npm install -g pg-test

Usage

Specify the database url as an environment variable named DB. If running on Travis-CI, DB will default to postgres://postgres:localhost/travis.

Linux: export DB=postgres://postgres@localhost/mydb
Windows (PowerShell): $env:DB="postgres://postgres@localhost/mydb"

Then run

pg-test [path]

Which will execute every .sql file in the specified (defaults to cwd) and stop on the first, if any, failure.

License

MIT

1.0.7

4 years ago

1.0.6

9 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago