Skip to content

pgtap_fixture

A PostgreSQL extension that allows more complex fixtures to be created for pgTAP tests.

pgtap_fixture · A PostgreSQL extension that allows more complex fixtures to be created for pgTAP tests.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101689pgtap_fixturepgtap_fixture0.0.1FEATMITSQL
Relationships
Requirespgtap plpgsql

Usage

Sources:

pgtap_fixture — A PostgreSQL extension that allows more complex fixtures to be created for pgTAP tests. Use it when an application needs this specific database capability. Its extension dependencies must be installed and validated first.

Core Workflow

CREATE EXTENSION pgtap_fixture;

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Requirements and Caveats

  • The catalog records version 0.0.1.
  • Install the confirmed extension dependencies first: plpgsql, pgtap.
  • The control file marks the extension as relocatable.
  • The control file does not require superuser-only installation.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader