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 5C6E29DC878 for ; Fri, 3 Feb 2006 09:40:37 -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 25733-04 for ; Fri, 3 Feb 2006 09:40:40 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 9990E9DC815 for ; Fri, 3 Feb 2006 09:40:31 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id CAF3E308E1; Fri, 3 Feb 2006 14:40:35 +0100 (MET) From: "lothar.behrens@lollisoft.de" X-Newsgroups: pgsql.interfaces.odbc Subject: Re: call for creating test suite Date: 3 Feb 2006 05:40:28 -0800 Organization: http://groups.google.com Lines: 35 Message-ID: <1138974028.387243.303880@o13g2000cwo.googlegroups.com> References: <20060112145902.GA8223@soptik.pzkagis.cz> <20060113135004.GA15349@soptik.pzkagis.cz> <20060202105458.GA301@soptik.pzkagis.cz> <1138879586.660453.123050@g14g2000cwa.googlegroups.com> <20060202120245.GA818@soptik.pzkagis.cz> <1138884402.462402.176810@f14g2000cwb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 jedi.behrens.de:3128 (squid/2.5.STABLE5) Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=80.133.191.166; posting-account=ZEv0oQwAAAARGOrW-5pO2M_10hQ_J_Pj To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200602/11 X-Sequence-Number: 7140 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