Re: "truncate all"?
| От | Robert Treat |
|---|---|
| Тема | Re: "truncate all"? |
| Дата | |
| Msg-id | 1060275071.22259.2147.camel@camel обсуждение исходный текст |
| Ответ на | Re: "truncate all"? (Andreas <e9625203@student.tuwien.ac.at>) |
| Список | 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 по дате отправления: