in reply to Re: DBI like layer for database management?
in thread DBI like layer for database management?
What I need this for is a testing framework for web apps that requires a fresh copy of a "known state" database to be restored before each test in a test suite runs. Tests in this suite are machine generated by way of a "snooping" proxy that records every request going to the server from a live user exercising the application. Tests work as dumb automata that simply replay the recorded sequences.
For these sequences to run as expected, the database must be reset to the the same state in which they were recorded.
Currently I only support MySQL and I do backup and restoring by directly invoking the mysql command line tool from my script.
I would prefer to do backup and restoring in a less ad-hoc way, and I would also like to support other RDBMS as well. I don't think one can do this through DBI but it would be a nice if it was possible.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: DBI like layer for database management?
by dws (Chancellor) on Apr 14, 2002 at 23:00 UTC |