pgTAP: Unit Testing for PostgreSQL

this template was designed by http://www.tristarwebdesign.co.uk - please visit for more templates & information - thank you. 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. Why would you want to unit test your database? Well, there are a couple of scenarios in which it can be useful. So you write PostgreSQL-backed applications, maybe in Rails , or Django , or Catalyst , and because you’re an agile developer , you write lots of tests to make sure that your application works as you practice iterative development. But, as one of the most important parts of your application, should you not also test the databas...

Linked on 2015-03-09 06:44:32 | Similar Links