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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to