utPLpgSQL is a Unit Testing framework for PostgreSQL PL/pgSQL and SQL. Inspired by utPLSQL. The framework follows industry standards and best patterns of modern Unit Testing frameworks like JUnit and RSpec.
Testing Framework for PostgreSQL PL/pgSQL.