[ python-Bugs-1000464 ] New test infrastructure

noreply at pgfoundry.org noreply at pgfoundry.org
Mon Aug 7 01:20:16 UTC 2006


Bugs item #1000464, was opened at 2005-12-03 22:41
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1000464&group_id=1000094

Category: BE/TEOP
Group: To do
Status: Open
Resolution: None
Priority: 5
Submitted By: James Pye (jwp)
Assigned to: James Pye (jwp)
Summary: New test infrastructure

Initial Comment:
The current test system is far too limited for the needs of BE/TEOP. The system needs to be able to deal with multiple PostgreSQL and Python installations in a much more elegant fashion. Currently, the system rigidly works merely with multiple PostgreSQL versions but use with a given version is exclusive at a given run. This is simply annoying and needs automation.

The proposed system will have the following features:

 - Configuration against multiple versions of PostgreSQL and Python.
 - A Postmaster controller to better handle and recover from fatal failures(?).
 - Unit test style testing framework to ease conditional testing of features.
 - Internal unit testing link-up to ease testing features from the inside(+/-).
 - Proboscis based. =)
 - Interactive prompt and automated runs (+/-)

Requirements to meet these demands:

 - Simplified initdb interface (put in layout's utilities)
 - Postmaster controller (perhaps the most demanding) (maybe in layout as well)
 - Custom unittest framework subtypes to facilitate database connections.
 - Some sort of external reporting of internal testing.
 - Core dump management(?) [Would be nice to get tracebacks]
 - Green Trunk tests(?)

This is planned for 0.4. Such a system with the appropriate tests would likely be the bane of all bugs. muahhah-muahaha-muahahahahahhaha

----------------------------------------------------------------------

>Comment By: James Pye (jwp)
Date: 2006-08-06 18:20

Message:
Many of these have been recently addressed with the ctl, tin, and console(GTX) projects.

Many new tests will make their way into the IP project as a way to test exposed Green Trunk interfaces.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=442&aid=1000464&group_id=1000094


More information about the Python-general mailing list