mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
407 B
407 B
PostgSail Unit Tests
The Unit Tests allow to automatically validate SQL and API workflow.
A global overview
Based on mocha
& psql
get started
$ npm i
$ alias mocha="./node_modules/.bin/mocha"
$ bash tests.sh
docker
$ docker compose up -d db && sleep 15 && docker compose up -d api && sleep 5
$ docker compose -f docker-compose.dev.yml -f docker-compose.yml up tests