Re: Making tests execute on multiple databases
[prev]
[thread]
[next]
[Date index for 2005/05/05]
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
|
|
Re: Making tests execute on multiple databases
Tony Bowden 06:18 on 05 May 2005
|