testing PL/pgsql functions - Mailing list pgsql-general

From Richard Emberson
Subject testing PL/pgsql functions
Date
Msg-id 3C7289B4.B59BC491@phc.net
Whole thread Raw
List pgsql-general
I am in the process of designing a bunch of tables and PL/pgsql
functions. What I would
like is to write some 'unit' level tests with some postgresql friendly
test harness.

For example, I might use the tcl procedural language and tcl's expect
test extension
to write expect scripts that call my pgsql functions. Or I might use the
Java JUnit
test harness and JDBC to write tests that call my functions.

Any advice?
Anyone done this already and have some 'lessons learned'?
Is there a built in test harness for pgsql functions?

Richard


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: [SQL] inheritance and foreign key
Next
From: Doug McNaught
Date:
Subject: Re: testing PL/pgsql functions