{"repo":"theory/pgtap","free":true,"listed":false,"github":"https://github.com/theory/pgtap","clone":"git clone https://github.com/theory/pgtap.git","description":"PostgreSQL Unit Testing Suite","language":"PLpgSQL","stars":1162,"topics":["pgtap","pgsql","psql","tap","testing","testing-framework","testing-library","unit-testing"],"license":null,"category":"dev-tools","readme_excerpt":"pgTAP 1.3.5 =========== pgTAP is a unit testing framework for PostgreSQL written in PL/pgSQL and PL/SQL. It includes a comprehensive collection of TAP-emitting assertion functions, as well as the ability to integrate with other TAP-emitting test frameworks. It can also be used in the xUnit testing style. For detailed documentation, see the documentation in doc/pgtap.md or online. pgTAP must be installed on a host with PostgreSQL server running; it cannot be installed remotely. To build it, just do this: If you encounter an error such as: You need to use GNU make, which may well be installed on your system as gmake : If you encounter an error such as: Or: Be sure that you have pg config installed and in your path. If you used a package management system such as RPM to install PostgreSQL, be sure that the -devel package is also installed. If necessary tell the build process where to find it: And finally, if all that fails, copy the entire distribution directory to the contrib/ subdirectory of the PostgreSQL source tree and try it there without pg config : If you encounter an error such as: You need to run the test suite using a super user, such as the default \"postgres\" super user: If you encounter an error such as: Install the PostgreSQL Additional Supplied Modules, which are required to run the tests. If you used a package management system such as RPM to install PostgreSQL, install the -contrib package. To install the extension in a custom prefix on PostgreSQL 18 or later, p","default_branch":null,"files":null,"tree":[],"storefront":"/r/theory","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/theory/pgtap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}