pgTAP allows you to really test the database, not only verifying the structure of your schema, but also by exercising any views, procedures, functions, rules, or triggers you write. Of course you could use your application's unit-testing framework to..
Relevance: 16.256996