[CDBI] Mocking CDBI classes

Phil Mitchell phil.mitchell at pobox.com
Wed Oct 5 18:54:59 BST 2005

There's Class::DBI::Test::TempDB, but I never got it working for my
Catalyst app. I took the idea, though, and wrote a little class that
uses my create_tables scripts to build a test DB and connect my DBI
classes to it. Very simple and it works great... More info if you want
it... Also, I occasionally use Test::MockObject::Extends

On 9/27/05, Rob Kinyon <rob.kinyon at gmail.com> wrote:
> Is there a Class::DBI::Mock in the works? If not, what's the
> recommended method for mocking CDBI classes?
> On a related note, how hard would it be to write Class::DBI::Mock?
> Thanks,
> Rob
> _______________________________________________
> ClassDBI mailing list
> ClassDBI at lists.digitalcraftsmen.net
> http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

2People Blog: http://2-people.blogspot.com/
2People site: http://www.2people.org

More information about the ClassDBI mailing list