Testing databases with DBIx::Class
Aaron Trevena
aaron.trevena at gmail.com
Tue Jan 10 10:12:11 GMT 2012
On 10 January 2012 09:56, Ian Knopke <ian.knopke at gmail.com> wrote:
> Hi,
>
> I need to test some DBIx::Class code where the database may not be
> available. I can set up something to generate a small, temporary
> SQlite db, but I was wondering what approaches others are currently
> using for this. DBD::Mock seems ok but not especially well suited for
> use with DBIx. What does the rest of the community currently do?
I'd have a look at DBIx::Class:Fixtures, I've also manually created
fixture data in scripts in the past (and present) too.
A.
--
Aaron J Trevena, BSc Hons
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Consulting
More information about the london.pm
mailing list