Re: php professional - Mailing list pgsql-general

From Guido Neitzer
Subject Re: php professional
Date
Msg-id B3731014-8AE3-4E6B-8AC9-462EBCD5BD74@event-s.net
Whole thread Raw
In response to Re: php professional  ("Ted Byers" <r.ted.byers@rogers.com>)
List pgsql-general
On 22.02.2007, at 16:03, Ted Byers wrote:

> One of my problems with database development is how to construct
> analogously strong test cases in order to prove the code correct.

With tests you can't prove that your code is correct. You can only
show that your code works with the test cases. There are ways of
proving that code is correct, but I don't know anybody using that on
"real world code".

If you are using Java as a client you can use DbUnit for unit testing:

http://www.dbunit.org/

This can or cannot show that your latest changes didn't break stuff
that used to work ... ;-)

cug

pgsql-general by date:

Previous
From: Guido Neitzer
Date:
Subject: Re: How would you handle updating an item and related stuff all at once?
Next
From: Ron Johnson
Date:
Subject: Re: postgresql vs mysql