Install postgresql-10-pgtap by entering the following commands in the terminal:
sudo apt update sudo apt install postgresql-10-pgtap
Description:
Unit testing framework extension for PostgreSQL 10
pgTAP is a suite of database functions that make it easy to write TAP-emitting unit tests in psql scripts suitable for harvesting, analysis, and reporting by a TAP harness, such as those used in Perl and PHP applications. . TAP is the Test Anything Protocol (http://testanything.org/). . This package contains the extension for PostgreSQL 10.
Homepage: http://pgtap.org/
Version: 0.97.0-3ubuntu1
Section: universe/database