4

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?

Randomize
  • 1,203
  • 2
  • 21
  • 36

1 Answers1

3

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.

joanolo
  • 13,657
  • 8
  • 39
  • 67
Evan Carroll
  • 65,432
  • 50
  • 254
  • 507