Re: Shared DBI driver test suite

Jens Rehsack <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Organization Comprehensive Perl Archive Network
Message-ID <[email protected]>
On 22.01.13 23:42, Tim Bunce wrote:
> On Tue, Jan 15, 2013 at 09:47:02AM +0100, Jens Rehsack wrote:
>>
>> 1) having a lot of DBD::CSV tests (DBI related like ChopBlanks)
>>     moved or copied and maintained in DBI
>
> Think bigger.

I do :P

SQL::Statement can't rely on DBI, because it would create a
circular dependency - but my far distance goal was a test
base common for DBI, DBD::* and SQL::Statement - and maybe
more ...

But I want start somewhere and not finish anything because
of the long way (I think about my goal to improve
Proc::ProcessTable, which stalls because I don't find
a near goal to reach soon and have not enough free time to
do it all in one big task).

> One of my biggest regrets about the implementation of the DBI is that I
> didn't create a separate test suite that could be reused by driver authors.
>
> So each driver has only it's own set of tests that are really only
> testing the authors interpretation of the barely-specified behavior.
>
> I'd *love* to see that error fixed so all drivers authors could make use
> of, and contribute to, a common DBI driver test suite.

You suggest a DBI::Test suite which is a separate module and is required 
by DBI? This completely different to previous statements
where DBI should have no additional dependencies ...

Let's discuss this as Merijn suggested at Perl QA hackathon.

Jens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.