Re: Unit testing plpgsql code

From: Ben <bench(at)silentmedia(dot)com>
To: Casey Duncan <casey(dot)duncan(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unit testing plpgsql code
Date: 2004-11-21 16:47:26
Message-ID: 06260828-3BDD-11D9-9EFE-000A95BF2A8C@silentmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I made something for one of my projects. I'm really not happy with it
(it borders on unmaintainable) but it does work and if you're desperate
I could share. But I wouldn't be unhappy if you rolled your own, so I
could use that. :)

On Nov 20, 2004, at 7:33 PM, Casey Duncan wrote:

> Anyone know of a unit testing framework for plpgsql stored procedures?
> We are about to convert a bunch of stored procedures from Oracle over
> to Postgresql. We currently use the utPLSQL package to unit test
> those, so something comparable to it would be optimal.
>
> We'll probably roll our own if nothing currently exists, but I figured
> it was worth it to ask first before reinventing the wheel.
>
> TIA,
>
> -Casey
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 8: explain analyze is your friend

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2004-11-21 17:28:44 Re: Delete very slow after deletion of many rows in
Previous Message Michael Fuhr 2004-11-21 16:15:17 Re: Join between databases or (???)