From: Ludek Finstrle <luf@pzkagis.cz>
To: lothar.behrens@lollisoft.de <lothar.behrens@lollisoft.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: call for creating test suite
Date: Thu, 2 Feb 2006 13:02:45 +0100
Message-ID: <20060202120245.GA818@soptik.pzkagis.cz> (raw)
In-Reply-To: <1138879586.660453.123050@g14g2000cwa.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>
Thu, Feb 02, 2006 at 03:26:26AM -0800, lothar.behrens@lollisoft.de napsal(a):
> > - it contains executable, and dir with text files
> > - each text file describe one test
>
> Sounds like a language to be defined first. If I would create a test
> suite, first I would
> find the smallest peaces of code to be implemented in a native language
> like C or C++.
I don't think so. We need to describe what we want. Then we could choose
the best suitable language for it. Maybe it is C or C++ or Perl or
whatever suite the developer.
> These peaces reflect typical or untypical usecases of the SQLXXX API.
>
> As I have some experience using plugins, I would suggest to implement
> these test
> peaces as plugins to be loaded by the name of the test.
It isn't easy to add new test (plugin). When we could describe each test
with text file (which could be automatically generated from mylog output)
we could easy add the new test to testsuite. So each new release has
no old bug. When we'll collect enough tests we have rock solid ODBC driver.
> To have more flexibility, I would define a language to get test data
> for it, but delegate
> the handling of the test to the plugin.
BTW we get the most flexibility by using ODBC API calls with parameters
obtained from mylog output. We cover all the situations this way.
I'm not sure now if I undestand you well. What do you mean with
"language to get test data"?
Regards,
Luf
P.S. I'm sorry if I misunderstand you.
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: luf@pzkagis.cz, lothar.behrens@lollisoft.de
Subject: Re: call for creating test suite
In-Reply-To: <20060202120245.GA818@soptik.pzkagis.cz>
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>
* 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