Re: [CDBI] Mocking CDBI classes
[prev]
[thread]
[next]
[Date index for 2005/10/05]
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
|
|
Re: [CDBI] Mocking CDBI classes
Phil Mitchell 17:54 on 05 Oct 2005
|