]>
git.evergreen-ils.org Git - Evergreen.git/commit
start adding pgTAP test cases
pgTAP is a PostgreSQL unit testing framework; about which
more can be found at http://pgtap.org/
This commit introduces the first pgTAP test case, which exercises
the NACO normalization functions.
To run the tests, install pgTAP, create an Evergreen database that
contains (for now) just the seed data, and from the top of the
source tree run
pg_prove -vr -U evergreen Open-ILS/src/sql/Pg/t/*
Replace '-U evergreen' with the psql command-line switches
needed to access your database.
To install pgTAP on a Debian Wheezy system, you can do:
Then, to load the pgTAP extension into the database, run
psql> CREATE EXTENSION pgtap;
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>