Re: call for creating test suite - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: call for creating test suite
Date
Msg-id 20060113135004.GA15349@soptik.pzkagis.cz
Whole thread Raw
In response to Re: call for creating test suite  (Marc Herbert <Marc.Herbert@continuent.com>)
Responses Re: call for creating test suite  (David Somers <dsomers@omz13.com>)
List pgsql-odbc
> >   is here someone who will create testsuite for psqlodbc driver?
>
> Isn't it possible to re-use/build upon some existing ODBC test suite?
> Since ODBC is a standard interface, it would look like a waste to
> duplicate such an effort across different ODBC drivers.

It's possible. I only specify what I want from it. I don't know other
odbc test suites.
If it fits my requirements it'll be simple to reproduce error from
log output of psqlodbc in the future. I think we process log output
through grep, awk and we get the input for test suite.

I'm open to discussion about the test suite fetures and architecture.
I post it here in this case too.

> We (continuent) surely could invest some time developing such a suite
> provided we can easily run it against our software.

Maybe I understand this bad. Are you volunteer?

> There already is something that looks a lot like an ODBC test suite in
> the 'tests' directory of unixODBC. Anyone had a look at it/heard about
> it?

No, I don't know it. Could you explain it to us? Everyone who feel that
we may use another ODBC test suite is welcome with his opinion and
his knowledge.

If someone would write it afresh the test suite could be written whatever
language you want. I think about PERL as it could be the fastest and
easiest way for me. But anyone could feel free to use what he want (after
discussion here).
I don't need the test suite know the constants. I get the values
so it could only know integral numbers, real numbers (maybe not
I don't know whole ODBC spec), string and maybe some other basic
types.

Regards,

Luf

pgsql-odbc by date:

Previous
From: Marc Herbert
Date:
Subject: Re: call for creating test suite
Next
From: Shachar Shemesh
Date:
Subject: Updates via ODBC commands