Ok, here is what I’ve done to allow us run SB tests on mysql, postgres
and other DBs.
All comments are wellcome, but some are required.
For now I didn’t finish several things:
connect_* functions in utils.pl.
This functions should connect handle to test DBs of your RDBMS. I wrote
only simple ‘connect_mysql’ that connects to DB ‘test’ with user 'root’
and empty password. I use it for local testings, but for CPAN we should
use configurable connect_* functions. Because configuration should be
asked or entered once across all tests, I think we should use ENV
variables or write config options into t/ dir. Please, suggest prefered
way and if you choose ENV then suggest generic naming.
I wrote mysql schemas for current test suite, please, wrote schemas
for other DBs and send them back with report about test suite success or
Wait for your comments. Best regards, Ruslan.