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

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

Replies are listed 'Best First'.
Re^4: CPAN test suites with SQL
by NERDVANA (Priest) on Apr 18, 2024 at 17:42 UTC
    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.