Re: Test code is worth the space - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Test code is worth the space
Date
Msg-id 20150822061617.GA2245777@tornado.leadboat.com
Whole thread Raw
In response to Re: Test code is worth the space  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
On Tue, Aug 18, 2015 at 02:03:19PM +0100, Greg Stark wrote:
> On Tue, Aug 18, 2015 at 6:57 AM, Noah Misch <noah@leadboat.com> wrote:
> > My own position is based on having maintained a pg_regress suite an order of
> > magnitude larger than that.  I don't know why that outcome was so different.

> And does your pg_regress test suite actually find many bugs or does it
> mainly detect when functionality has changed and require updating
> expected results to match?

It found plenty of bugs and required plenty of expected output updates.

> >> I suspect any effort to significantly improve Postgres test coverage is
> >> doomed until there's an alternative to pg_regress.
> >
> > There is the src/test/perl/TestLib.pm harness.
> 
> Sadly I think the test suite is only half the battle.

Certainly.



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [DESIGN] ParallelAppend
Next
From: Noah Misch
Date:
Subject: Re: Autonomous Transaction is back