Re: Unit testing

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unit testing
Date: 2004-10-11 14:47:11
Message-ID: 416A9CEF.4080903@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Neil Conway wrote:

>
>
>> 3. Unit testing frameworks are best suited to component-based
>> architectures, ISTM. I'm not sure that one would fit Postgres very well.
>
>
> Can you elaborate?
>
>

With objects that are relatively standalone, you can instantiate them
easily and plug them into a testing framework. The more interdependent
things are, the harder it is.

I think a concrete example of what you're suggesting would help a lot.
Pick one small area, show the changes needed, and how you would use the
testing setup.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2004-10-11 18:36:46 Re: CVS fixed ...
Previous Message Tom Lane 2004-10-11 14:44:01 Re: pg_restore case sensitivity