pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lothar.behrens@lollisoft.de <lothar.behrens@lollisoft.de>
To: pgsql-odbc@postgresql.org
Subject: Re: call for creating test suite
Date: 3 Feb 2006 05:40:28 -0800
Message-ID: <1138974028.387243.303880@o13g2000cwo.googlegroups.com> (raw)
In-Reply-To: <khj64nwvdv6.fsf@meije.emic.fr>
References: <20060112145902.GA8223@soptik.pzkagis.cz>
	<khjace08gfo.fsf@meije.emic.fr>
	<20060113135004.GA15349@soptik.pzkagis.cz>
	<khjy81kcfcd.fsf@meije.emic.fr>
	<20060202105458.GA301@soptik.pzkagis.cz>
	<1138879586.660453.123050@g14g2000cwa.googlegroups.com>
	<20060202120245.GA818@soptik.pzkagis.cz>
	<1138884402.462402.176810@f14g2000cwb.googlegroups.com>
	<khj64nwvdv6.fsf@meije.emic.fr>

A piece :-) of code may be better than a piece of database vendor
related log data.

But creating a different output from mylog into a more general list of
SQLXXX function
calls would be a good starting point to create reusable code pieces -
in any language.

Cascaded code translators then would generate test snippets for an
existing test
framework.

This way, we would get many test snippets very fast. They must be
approved for
insertion into the test suite, but I think not more work than an
approval procedure.

The idea to generate test descriptions from logfiles in general is
good. But the whole
system shouldn't related to pgSQLODBC only - in my opinion :-)

If you agree, then it should be designed more modular.

Such as input filters to translate vendor log data to a more general
APIXXX call log data.
Then we would not depend on the input. And ending with different output
translators.

I agree with Marc, to first have a look at the unixODBC test suite.

Ehhh, here is a (good - in my opinion) parsing generator tool:
http://www.devincook.com/goldparser/

Lothar




view thread (14+ messages)

Message-ID: <1138974028.387243.303880@o13g2000cwo.googlegroups.com>
Permalink:  ../1138974028.387243.303880@o13g2000cwo.googlegroups.com/
Also on:    postgresql.org/message-id/1138974028.387243.303880@o13g2000cwo.googlegroups.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: lothar.behrens@lollisoft.de
  Subject: Re: call for creating test suite
  In-Reply-To: <1138974028.387243.303880@o13g2000cwo.googlegroups.com>
  References: <20060112145902.GA8223@soptik.pzkagis.cz> <khjace08gfo.fsf@meije.emic.fr> <20060113135004.GA15349@soptik.pzkagis.cz> <khjy81kcfcd.fsf@meije.emic.fr> <20060202105458.GA301@soptik.pzkagis.cz> <1138879586.660453.123050@g14g2000cwa.googlegroups.com> <20060202120245.GA818@soptik.pzkagis.cz> <1138884402.462402.176810@f14g2000cwb.googlegroups.com> <khj64nwvdv6.fsf@meije.emic.fr> <1138974028.387243.303880@o13g2000cwo.googlegroups.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