Re: [RRR] Tests citext casts - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: [RRR] Tests citext casts
Date
Msg-id D684947F-DB7C-496F-9BF6-CD87B5E77CA3@kineticode.com
Whole thread Raw
In response to Re: [RRR] Tests citext casts  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [RRR] Tests citext casts  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Nov 7, 2008, at 11:50 AM, Tom Lane wrote:

>> This is why I like TAP.
>
> And how would TAP reduce the number of expected results?

TAP doesn't compare output to expected output files. It's simply a  
test result output stream. A separate program then harnesses that  
output, looks at what passed and what failed, and emits a report. So  
you only have to maintain one file of tests. It makes test-driven  
development a lot simpler, not to mention enabling better conditional  
testing, TODO tests, skipping tests, etc.

Best,

David



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [RRR] Tests citext casts
Next
From: Alvaro Herrera
Date:
Subject: Re: Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved.