[Rt-devel] [RFC][PATCH] DBIx-SB tests on other DBs

Ruslan U. Zakirov Ruslan.Zakirov at miet.ru
Fri May 13 11:16:30 EDT 2005


	Hello.
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:
1) 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.

2) 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 
fails.

Wait for your comments. Best regards, Ruslan.


More information about the Rt-devel mailing list