Re: "truncate all"?

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Andreas <e9625203(at)student(dot)tuwien(dot)ac(dot)at>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: "truncate all"?
Date: 2003-08-07 16:51:11
Message-ID: 1060275071.22259.2147.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message ohp 2003-08-07 17:10:04 build on unixware 713
Previous Message Andrew Dunstan 2003-08-07 16:41:21 Re: new psql \d command