Re: [CDBI] Class::DBI and DBD::Mock problem
"Perrin Harkins" <[email protected]> Tue, 20 Mar 2007 12:06:06 -0400
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
On 3/20/07, Aaron Trevena <[email protected]> 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