[Catalyst] writing a test suite for my app

Gavin Henry ghenry at perl.me.uk
Thu May 11 23:30:57 CEST 2006


<quote who="Daniel McBrearty">
> OK, I suck at writing tests. I admit it. I have no clue as to how to do it
> "the perl way", whatever that is, apart from running "make test" when
> installing a module. I have some module tests for one of my libraries
> using
> Test::Simple, and a hand written script to glue them all together. I've
> just
> been looking at Test::Inline and it looks cool, but I can't quite work out
> if it will fit for this catalyst app.
>
> But I need to already start writing tests for my one controller before
> shit
> starts getting out of hand ...
>
> So how do I start? What's the first step? (I need to be able to manipulate
> stuff in the session as well.)

Have a look at the t/ dir when you download Catalyst tar or browse via
search.cpan.org.

There's also a cool O'Reily Test Notebook for the basics with all Test::*
modules.

>
> thanks
>
> Daniel
>
> --
> Daniel McBrearty
> email : danielmcbrearty at gmail.com
> www.engoi.com : the multi - language vocab trainer
> BTW : 0873928131
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>




More information about the Catalyst mailing list