LanX has asked for the wisdom of the Perl Monks concerning the following question:
I'm developing a DBIx distribution and need to check plenty of SQL in the tests.
My approach is to use SQLite as primary engine, since it comes with the DBD::SQLite module installed and that's not much of a prerequisite (it's even comes bundled with Strawberry Perl!)
My issue is where to put the temporary SQLite file...
Those SQLite files don't become big, but I'm not sure about writing stuff into the dist directory. On a side note:
I want to be able to switch to other DB-Servers while testing. (But now really author's side unless explicitly wanted by the user)
What's the best approach to make this configurable?
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CPAN test suites with SQL
by Corion (Patriarch) on Apr 14, 2024 at 10:35 UTC | |
by swl (Prior) on Apr 15, 2024 at 02:38 UTC | |
by NERDVANA (Priest) on Apr 15, 2024 at 04:55 UTC | |
by LanX (Saint) on Apr 14, 2024 at 10:52 UTC | |
by cavac (Prior) on Apr 18, 2024 at 05:48 UTC | |
by NERDVANA (Priest) on Apr 18, 2024 at 17:42 UTC |