SlideShare for iOS
by Linkedin Corporation
FREE - On the App Store
So you've got testing religion, but the question now is, how do you test your database? ...
So you've got testing religion, but the question now is, how do you test your database?
This tutorial introduces pgTAP, a comprehensive, easy-to-use test suite for PostgreSQL. We'll work from getting and installing pgTAP, to writing a simple test, to running the test and integrating it into your test environment. And then we really get into the fun stuff:
Testing scalar values
Testing error conditions and performance regressions
Testing database schemas, including tables, columns, constraints, indexes, triggers, etc.
Testing result sets
Testing may sound like a dry topic, but my examples aren't! Come join the fun!