An open API service indexing awesome lists of open source software.

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.

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