Database Unit-Testing with PgTAP

This video is in English.
Length: 20:50
Source: NLPW - Nederlandse Perl Workshop 2014 on the 2014-04-25.
Speaker: Susanne Schmidt (Su-Shee) speaker
abstract

David Wheeler's PgTAP (as well as MyTAP for MySQL) is a handy, easy to use and easy to learn TAP testing framework which should be part of the toolbox of every Perl developer.

Staying within the TAP testing style we are used to in Perl, PgTAP makes it very easy to whip up simple and not-so-simple database unit tests.

This is an overview of the features of PgTAP and a couple of common test cases which might come in handy in everyday use of a database.

Examples are shown in Postgres/PgTAP.