Re: Automated testing of functions

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Brian Donovan" <bdonovan(at)airpost(dot)net>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Automated testing of functions
Date: 2007-08-21 05:02:04
Message-ID: 162867790708202202j24d2e73btd2f8d63ef30c436b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2007/8/18, Brian Donovan <bdonovan(at)airpost(dot)net>:
> I'm using postgresql in a Ruby on Rails app and I've moved some of the
> application logic from Ruby (ActiveRecord callbacks) to postgresql
> (triggers + functions) for performance reasons. The problem is that
> now those parts of the app remain untested. Does anyone have a
> suggestion for doing automated testing in postgresql, even if the
> language isn't Ruby?

Hello

Mickael Deloison finishing pgUnitTest
http://pgfoundry.org/forum/forum.php?forum_id=1126

pgUnitTest is designed to run unit tests on database queries and
insert random generated data into a database. You can write your unit
tests as scripts and provide them to pgUnitTest. It will execute the
unit tests and will generate a report.
This is a first beta version.

Regards
Pavel Stehule

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-08-21 05:04:55 Re: Searching for Duplicates and Hosed the System
Previous Message Tom Lane 2007-08-21 03:30:47 Re: PGError: input out of range