froscon2009 - 1.0

FrOSCon
Free and Open Source Software Conference

Referenten
Rolf Schaufelberger
Programm
Tag Day 2 (2009-08-23)
Raum C125/PostgreSQL
Beginn 13:00
Dauer 01:00
Info
ID 441
Veranstaltungstyp Vortrag
Track PostgreSQL
Sprache der Veranstaltung deutsch
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.