Re: [CDBI] Mocking CDBI classes

[prev] [thread] [next] [Date index for 2005/10/05]

From: Phil Mitchell
Subject: Re: [CDBI] Mocking CDBI classes
Date: 17:54 on 05 Oct 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@xxxxx.xxx> 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@xxxxx.xxxxxxxxxxxxxxxx.xxx
> http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
>


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

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Mocking CDBI classes
Rob Kinyon 16:48 on 27 Sep 2005

Re: [CDBI] Mocking CDBI classes
William Ross 20:21 on 27 Sep 2005

Re: [CDBI] Mocking CDBI classes
David Baird 22:23 on 27 Sep 2005

Re: [CDBI] Mocking CDBI classes
Phil Mitchell 17:54 on 05 Oct 2005

Generated at 10:29 on 10 Oct 2005 by mariachi v0.52