in reply to Re: CPAN test suites with SQL
in thread CPAN test suites with SQL

> Why not keep the SQLite files in :memory: ?

Cool, didn't know that one!

Should have asked earlier! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^3: CPAN test suites with SQL
by cavac (Prior) on Apr 18, 2024 at 05:48 UTC

    As for testing against other databases: You can, in some cases, just spin up a temporary instance. If i remember correctly, DBD::Pg does (or "did"?) this during testing for PostgreSQL by using a temporary directory. And i'm pretty sure you can start a mysqld instance the same way.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
      I use Test::PostgreSQL for that all the time, in my applications. I usually don't for my CPAN modules, though SQL::Translator's tests conditionally check for it and SKIP otherwise.