Chapter 11. Developing with pgTAP tests

Table of Contents

Setting up pgTAP on your development server
Running pgTAP tests

Setting up pgTAP on your development server

Currently, Evergreen pgTAP tests expect a version of pgTAP (0.93) that is not yet available in the packages for most Linux distributions. Therefore, you will have to install pgTAP from source as follows:

  1. Download, make, and install pgTAP on your database server. pgTAP can be downloaded from and the instructions for building and installing the extension are available from
  2. Create the pgTAP extension in your Evergreen database. Using psql, connect to your Evergreen database and then issue the command: