pg_tapgen

Unit testing tools for pgTAP

Install

All systems
curl cmd.cat/pg_tapgen.sh
Debian Debian
apt-get install libtap-parser-sourcehandler-pgtap-perl
Ubuntu
apt-get install libtap-parser-sourcehandler-pgtap-perl
image/svg+xml Kali Linux
apt-get install libtap-parser-sourcehandler-pgtap-perl
Windows (WSL2)
sudo apt-get update sudo apt-get install libtap-parser-sourcehandler-pgtap-perl
Raspbian
apt-get install libtap-parser-sourcehandler-pgtap-perl

libtap-parser-sourcehandler-pgtap-perl

Unit testing tools for pgTAP

TAP::Parser::SourceHandler::pgTAP is a set of tools for PostgreSQL unit testing. It contains the pg_prove and pg_tapgen scripts, which allows running and harnessing pgTAP tests on command-line, and summarizing the results. The corresponding PostgreSQL extension is contained in the postgresql-pgtap package. TAP is the Test Anything Protocol (http://testanything.org/).