[Catalyst] writing a test suite for my app

Daniel McBrearty danielmcbrearty at gmail.com
Fri May 12 15:40:28 CEST 2006


gotcha ... thanks.

On 5/12/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
>
> Daniel McBrearty wrote:
> > thanks, I think I have it together now. Module::Sleep helped a bit.
> >
> > Test::WWW::Mech .... looks like a brilliant module. Haven't figured out
> > what to use mockobject for yet though.
>
> MockObject is primarily for creating objects that pretend to be other
> objects for the purposes of testing something that uses them in
> isolation - for example, if you wanted to test a Catalyst Controller
> object you could create a mock $c that would record what methods were
> called on it and return the exact data you wanted, in order to test the
> controller's behaviour without having to have the entire app loaded and
> running.
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>



-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060512/224c3465/attachment.htm 


More information about the Catalyst mailing list