[CDBI] Class::DBI and DBD::Mock problem

Perrin Harkins pharkins at gmail.com
Tue Mar 20 16:06:06 GMT 2007


On 3/20/07, Aaron Trevena <aaron.trevena at gmail.com> wrote:
> the obvious thing to do is to use DBD::Mock and
> populate some fake results, and check the params and statement
> provided.

I'd only do that if it was totally impossible to test a real database.
 Why don't you use your target db with some fake data?

- Perrin



More information about the ClassDBI mailing list