Re: "truncate all"? - Mailing list pgsql-hackers

From Robert Treat
Subject Re: "truncate all"?
Date
Msg-id 1060275071.22259.2147.camel@camel
Whole thread Raw
In response to Re: "truncate all"?  (Andreas <e9625203@student.tuwien.ac.at>)
List pgsql-hackers
On Wed, 2003-08-06 at 04:39, Andreas wrote: 
> At 17:55 05.08.2003, Josh Berkus wrote:
> >I also don't think that outside of your particular
> >case that there's much demand for it;
> 
> I would like to believe that there is a need for efficient unit-testing 
> (unit-tests can be seen as a kind of regression tests for applications) in 
> postgresql beyond our project. If developers are not using unit-tests 
> (yet), I would also like to believe that this should not be interpreted as 
> an indication that they do not want to use them, but maybe that they do not 
> know about them.
> 

IMHO the dropdb/createdb/load schema/load data cycle provides for a
better unit test than the truncate data/load data cycle does, so while I
see this functionality as handy for development, I wouldn't use it for
unit testing.  

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: new psql \d command
Next
From: ohp@pyrenet.fr
Date:
Subject: build on unixware 713