Testing databases with DBIx::Class

David Cantrell david at cantrell.org.uk
Tue Jan 10 11:20:09 GMT 2012

On Tue, Jan 10, 2012 at 09:56:04AM +0000, Ian Knopke wrote:

> 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?

The Dynamite team have some code for mocking their database.  Talk to

David Cantrell | Nth greatest programmer in the world

  I remember when computers were frustrating because they did
  exactly what you told them to.  That seems kinda quaint now.
      -- JD Baldwin, in the Monastery

More information about the london.pm mailing list