https://github.com/petr-korobeinikov/pgtap-example
pgTAP (http://pgtap.org) usage example.
https://github.com/petr-korobeinikov/pgtap-example
pgtap postgres postgresql unit-testing
Last synced: 11 months ago
JSON representation
pgTAP (http://pgtap.org) usage example.
- Host: GitHub
- URL: https://github.com/petr-korobeinikov/pgtap-example
- Owner: petr-korobeinikov
- Created: 2016-08-08T13:41:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-29T19:56:15.000Z (almost 10 years ago)
- Last Synced: 2025-05-13T21:48:38.758Z (about 1 year ago)
- Topics: pgtap, postgres, postgresql, unit-testing
- Language: PLpgSQL
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pgtap-example
`pgTAP` (http://pgtap.org) usage example.
## Setup
$ vagrant up
$ cd ansible
$ cp ansible.cfg.dist ansible.cfg
$ ansible-galaxy install -r requirements.yml
$ ansible-playbook -i inventory/vagrant playbook.yml
## Run tests
$ vagrant ssh
$ sudo -i -u pgtap
$ cd /vagrant/
$ pg_prove -v t/*.sql