Skip to content
This repository was archived by the owner on Jun 17, 2019. It is now read-only.

Latest commit

 

History

History
18 lines (13 loc) · 349 Bytes

File metadata and controls

18 lines (13 loc) · 349 Bytes

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