Skip site navigation (1) Skip section navigation (2)

Re: call for creating test suite

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: "lothar(dot)behrens(at)lollisoft(dot)de" <lothar(dot)behrens(at)lollisoft(dot)de>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: call for creating test suite
Date: 2006-02-02 12:02:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
Thu, Feb 02, 2006 at 03:26:26AM -0800, lothar(dot)behrens(at)lollisoft(dot)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"?



P.S. I'm sorry if I misunderstand you.

In response to


pgsql-odbc by date

Next:From: lothar.behrens@lollisoft.deDate: 2006-02-02 12:46:42
Subject: Re: call for creating test suite
Previous:From: lothar.behrens@lollisoft.deDate: 2006-02-02 11:26:26
Subject: Re: call for creating test suite

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group