HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

What is the standard de facto unit test framework for Postgres?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
thewhatpostgresstandardfactotestforframeworkunit

Problem

I am new to Postgres and as I am about to start writing more and more code with it (script with procedures, etc.) I am wondering what is the "standard de facto" (more used, bigger community, open source, etc) unit test framework for it. Googling I have found a few options. Is PgTap the right choice?

Solution

pgTAP

pgTAP is the only I know that is ever even talked about.


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.

  • github



  • web



  • pgxn

Context

StackExchange Database Administrators Q#175991, answer score: 3

Revisions (0)

No revisions yet.