froscon2009 - 1.0
FrOSCon
Free and Open Source Software Conference
Speakers | |
---|---|
![]() |
Rolf Schaufelberger |
Schedule | |
---|---|
Day | Day 2 (2009-08-23) |
Room | C125/PostgreSQL |
Start time | 13:00 |
Duration | 01:00 |
Info | |
ID | 441 |
Event type | Lecture |
Track | PostgreSQL |
Language used for presentation | German |
Feedback | |
---|---|
Did you attend this event? Give Feedback |
Testing Postgres with pgTap
Einführung in pgTap

pgTap ist eine Sammlung von Datenbankfunktionen welche es ermöglichen, Tests zu erstellen, die einen TAP (Test Anything Protocol) Ausgabe erzeugen. Tests mit pgTap werden in SQL geschrieben und können zum Testen von Schemaeigenschaften, Stored Procedures , Trigger usw eingesetzt werden.
pgTAP is a suite of database functions that make it easy to write TAP-emitting unit tests in psql scripts or xUnit-style test functions. The TAP output is suitable for harvesting, analysis, and reporting by a TAP harness, such as those used in Perl applications.