pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-hackers@postgresql.org
Subject: Re: Hot Standby on git
Date: Sat, 26 Sep 2009 12:33:06 -0700
Message-ID: <4ABE6C72.7070507@agliodbs.com> (raw)
In-Reply-To: <1253973877.4449.899.camel@ebony.2ndQuadrant>
References: <1253958559.4449.833.camel@ebony.2ndQuadrant>
	<603c8f070909260629s1f070a8bl8aa6dc97fa87ce43@mail.gmail.com>
	<1253973877.4449.899.camel@ebony.2ndQuadrant>


> I feel like I need a better way of unit testing new code. Some of the
> code in the patch is to handle corner cases, so recreating them is
> fairly hard. It is a nagging feeling that I am missing some knowledge
> here and would welcome some insight, or research, into better ways of
> doing general case unit testing.

There's always pgtap.  Whenever we find a new corner case, we add it to
the development test suite.

-- 
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com



view thread (48+ messages)  latest in thread

Message-ID: <4ABE6C72.7070507@agliodbs.com>
Permalink:  ../4ABE6C72.7070507@agliodbs.com/
Also on:    postgresql.org/message-id/4ABE6C72.7070507@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: josh@agliodbs.com
  Subject: Re: Hot Standby on git
  In-Reply-To: <4ABE6C72.7070507@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox