Skip site navigation (1) Skip section navigation (2)

Re: Status of JDBC test suite?

From: Anders Bengtsson <ndrsbngtssn(at)yahoo(dot)se>
To: Rene Pijlman <rpijlman(at)wanadoo(dot)nl>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Status of JDBC test suite?
Date: 2001-08-26 19:56:09
Message-ID: Pine.LNX.4.33.0108262147120.2441-100000@sensenet.localdomain (view raw, whole thread or download thread mbox)
Thread:
Lists: 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(at)yahoo(dot)se
Stockholm, Sweden


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


In response to

Responses

pgsql-jdbc by date

Next:From: Peter WileyDate: 2001-08-26 22:48:52
Subject: JDBC changes for 7.2 - wish list item
Previous:From: Rene PijlmanDate: 2001-08-26 19:46:38
Subject: Re: Status of JDBC test suite?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group