pgTAP vs Sqitch
pgTAP
pgtap.orgSqitch
sqitch.orgSide by side
| Figure | pgTAP | Sqitch |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 0 | 1 |
| Spec score · Database Testing Tools | 6.9 (#25) | 8.0 (#12) |
| Installation | pgTAP must be installed on a host running PostgreSQL and cannot be installed remotely. | The project provides source and Docker installation options, Linux distribution packages, a macOS Homebrew installation, and Windows installation instructions. |
| License | The PGXN package page grants permission to use, copy, modify, and distribute pgTAP and its documentation without a fee, subject to the stated conditions. | The manual grants permission to use, modify, publish, distribute, sublicense, and sell the software subject to its stated condition, and provides it without warranty. |
| Purpose | pgTAP is a PostgreSQL unit testing framework that emits TAP from psql scripts or xUnit style test functions. | Sqitch is a database change management application for framework-free development and dependable deployment. |
Plans
In their own words
Sqitch
Sqitch is a database change management application for deploying and tracking database changes. It is a standalone system, not tied to a framework, ORM, database engine, or development environment. Changes are written as scripts native to the chosen database, and can declare dependencies—including changes in other Sqitch projects—to establish execution order. A plan file and Merkle tree pattern support deployment integrity without requiring numbered change names. Sqitch can deploy and revert changes, report status and history, and run optional verification scripts. Its manual lists PostgreSQL, YugabyteDB, CockroachDB, SQLite, MySQL, MariaDB, Oracle, Firebird, Vertica, Exasol, Snowflake, and ClickHouse. Connecting and executing scripts requires the database's native command-line client and connector libraries. Installation options include source, Docker, Linux distribution packages, macOS Homebrew, and Windows instructions. Sqitch is free, with a license permitting use and distribution, and is available for Linux, macOS, Windows, and self-hosted use.