Re: PostgreSQL unit tests - Mailing list pgsql-hackers

From Lukas Smith
Subject Re: PostgreSQL unit tests
Date
Msg-id dth4u0$j84$1@news.hub.org
Whole thread Raw
In response to PostgreSQL unit tests  (Michael Glaesemann <grzm@myrealbox.com>)
Responses Re: PostgreSQL unit tests
List pgsql-hackers
Michael Glaesemann wrote:
> During Josh Berkus' presentation at the JPUG PostgreSQL Conference, I 
> was particularly struck by the fact that 8.1 had a shorter beta period 
> than previous releases, rolled out on time, and enjoyed a longer period 
> before the first post-release bug was reported. The PostgreSQL Build 
> Farm played a key role in making these possible. (Thanks again, Andrew!)
> 
> Something that has been briefly discussed in the past wrt PostgreSQL has 
> been unit testing to complement the current regression tests. I've taken 
> a very quick google to see what's out there for C unit testing 
> frameworks. The ones I found are:
> 
> Check (GPL)
> GNU Autounit (GPL)
> CuTest (GPL? zlib/libpng?)
> CUnit (GPL)

I do not know the scope of current testing, but I think the testing 
should probably also including collecting and monitoring performance 
metrics. This might be a thing to keep in mind when choosing a 
particular unit testing framework.

regards,
Lukas


pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: windows / initdb oddness
Next
From: "Dave Page"
Date:
Subject: Re: pg_config, pg_service.conf, postgresql.conf ....