I need to write tests for the DBIx::HA module that overloads connect() and execute(). Does anyone have a standard way of doing those, considering that to do anything in DBI you need a datasource?
I read today on the list about DBD::Mock, which would be great if we all had that. Should I simply make my DBIx::HA module require DBD::Mock and use that as a testing handle? That would do the job, but I wouldn't like to be the odd man out.


Thanks,
Henri.



Reply via email to