Re: Test code is worth the space

From: Noah Misch <noah(at)leadboat(dot)com>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Test code is worth the space
Date: 2015-08-22 06:16:17
Message-ID: 20150822061617.GA2245777@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)leadboat(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2015-08-22 06:23:02 Re: Autonomous Transaction is back
Previous Message Amit Kapila 2015-08-22 06:13:10 Re: [DESIGN] ParallelAppend