Re: Status of JDBC test suite? - Mailing list pgsql-jdbc

From Anders Bengtsson
Subject Re: Status of JDBC test suite?
Date
Msg-id Pine.LNX.4.33.0108262147120.2441-100000@sensenet.localdomain
Whole thread Raw
In response to Re: Status of JDBC test suite?  (Rene Pijlman <rpijlman@wanadoo.nl>)
Responses Re: Status of JDBC test suite?
List pgsql-jdbc
On Sun, 26 Aug 2001, Rene Pijlman wrote:

> This is probably true, but once you have your environment setup
> (including a test database, password etc.) its just a matter of
> typing "make check".
>
> Would a brief How-to help?

Yes! :)

> >Ideally we should be able to extract parts of the test suite that could be
> >run without connecting to a backend. It would then be possible to at least
> >run those parts of the tests in "make".
>
> I'm not sure if that would be useful. Its a reasonable
> requirement for a database driver test suite that there actually
> is a database to test against :-)

It's not as crazy as it sounds. :-) The driver as a whole must of course
be tested against a real database. But many of the classes that it is made
up of could be verified on their own with unit tests. This kind of testing
catches most of the small "silly" bugs that seem to be the most common
kind of bug.

/Anders
_____________________________________________________________________
A n d e r s  B e n g t s s o n                   ndrsbngtssn@yahoo.se
Stockholm, Sweden


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


pgsql-jdbc by date:

Previous
From: Rene Pijlman
Date:
Subject: Re: Status of JDBC test suite?
Next
From: Peter Wiley
Date:
Subject: JDBC changes for 7.2 - wish list item