Greg Sabino Mullane wrote: >> It should be fairly easy for willing CPAN testers to setup any database >> they like, and provide some connection information for throwaway tables >> and data (assuming the test script WILL probably drop all tables in >> there and dump its own crap there). > > This seems of dubious usefulness, as the intersection between the number > of CPAN testers that would bother to set this up, and the number of > modules that would make use of it, would be very small.
I think it's very useful. There's plenty of modules which need a database, and they all have to be configured differently and they're always a PITA when you first install and each and every time they upgrade. User setup can be dealt with by making Test::Database a build dependency. As part of Test::Database's install process it walks the user through the configuration process. Once it's done, it writes out a config file and then it's done for good. -- emacs -- THAT'S NO EDITOR... IT'S AN OPERATING SYSTEM!
