Re: Making tests execute on multiple databases

[prev] [thread] [next] [Date index for 2005/05/05]

From: Tony Bowden
Subject: Re: Making tests execute on multiple databases
Date: 06:18 on 05 May 2005
On Wed, May 04, 2005 at 01:58:54PM -0400, Jim Brandt wrote:
> However, I found I wanted to run the same tests against Oracle. I was 
> able to modify some of the Films tests to do this, but it took some 
> work. It seems to me it would be really useful to be able to set some 
> configuration parameters to run the entire test suite against a 
> particular database. 

In principle I like the idea, but in practice it's going to be tricky as
the SQL required to create the schema will be different for each
database.

Class::DBI::DATA::Schema has a way of dealing with that, using
SQL::Translator, but I don't want to make that a pre-req of CDBI itself.
Perhaps we could do something where if you have all that installed then
you can do this?

Tony

Making tests execute on multiple databases
Jim Brandt 17:58 on 04 May 2005

Re: Making tests execute on multiple databases
Matt S Trout 23:34 on 04 May 2005

Re: Making tests execute on multiple databases
Tony Bowden 06:18 on 05 May 2005

Re: Making tests execute on multiple databases
Jim Brandt 11:53 on 05 May 2005

Generated at 11:49 on 06 May 2005 by mariachi v0.52