X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 417199DC859 for ; Thu, 2 Feb 2006 08:03:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 15433-10 for ; Thu, 2 Feb 2006 08:03:03 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 03E819DC81E for ; Thu, 2 Feb 2006 08:02:57 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k12C2jdR000962; Thu, 2 Feb 2006 13:02:45 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k12C2jPk000961; Thu, 2 Feb 2006 13:02:45 +0100 Date: Thu, 2 Feb 2006 13:02:45 +0100 From: Ludek Finstrle To: "lothar.behrens@lollisoft.de" Cc: pgsql-odbc@postgresql.org Subject: Re: call for creating test suite Message-ID: <20060202120245.GA818@soptik.pzkagis.cz> References: <20060112145902.GA8223@soptik.pzkagis.cz> <20060113135004.GA15349@soptik.pzkagis.cz> <20060202105458.GA301@soptik.pzkagis.cz> <1138879586.660453.123050@g14g2000cwa.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1138879586.660453.123050@g14g2000cwa.googlegroups.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.092 required=5 tests=[AWL=0.092] X-Spam-Score: 0.092 X-Spam-Level: X-Archive-Number: 200602/5 X-Sequence-Number: 7134 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.