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