Re: Unit testing - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Unit testing
Date
Msg-id 416A9CEF.4080903@dunslane.net
Whole thread Raw
In response to Re: Unit testing  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers

Neil Conway wrote:

>
>
>> 3. Unit testing frameworks are best suited to component-based 
>> architectures, ISTM. I'm not sure that one would fit Postgres very well.
>
>
> Can you elaborate?
>
>

With objects that are relatively standalone, you can instantiate them 
easily and plug them into a testing framework. The more interdependent 
things are, the harder it is.

I think a concrete example of what you're suggesting would help a lot. 
Pick one small area, show the changes needed, and how you would use the 
testing setup.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_restore case sensitivity
Next
From: Heikki Linnakangas
Date:
Subject: Re: CVS fixed ...