Re: Unit testing

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: Unit testing
Дата
Msg-id
416A9CEF.4080903@dunslane.net
Ответ на
Re: Unit testing (Neil Conway)
Список
Дерево обсуждения
Unit testing Gavin Sherry <swm@linuxworld.com.au>
Re: Unit testing "Neil Conway" <neilc@samurai.com>
Re: Unit testing Andrew Dunstan <andrew@dunslane.net>
Re: Unit testing Neil Conway <neilc@samurai.com>
Re: Unit testing Andrew Dunstan <andrew@dunslane.net>
Re: Unit testing Greg Stark <gsstark@mit.edu>
Re: Unit testing Neil Conway <neilc@samurai.com>
Re: Unit testing Tom Lane <tgl@sss.pgh.pa.us>
Re: Unit testing Gavin Sherry <swm@linuxworld.com.au>
Re: Unit testing Tom Lane <tgl@sss.pgh.pa.us>
Re: Unit testing Neil Conway <neilc@samurai.com>
Re: Unit testing Tom Lane <tgl@sss.pgh.pa.us>
Re: Unit testing Gavin Sherry <swm@linuxworld.com.au>


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

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Heikki Linnakangas
Дата:
Сообщение: Re: CVS fixed ...
FAQ