[Catalyst] Newbie Catalyst Testing Question

kirk beers kgbjed at gmail.com
Fri Feb 6 20:43:20 GMT 2009


Well I am certainly interested, if you are in the cobbling mood? Thank you
so much!!

On Fri, Feb 6, 2009 at 4:14 PM, J. Shirley <jshirley at gmail.com> wrote:

> On Fri, Feb 6, 2009 at 11:37 AM, kirk beers <kgbjed at gmail.com> wrote:
> > Hello folks,
> >
> > I am in the process of testing my Catalyst application. This application
> > contains 5 controllers and I find I am using repetitious tests for each
> > controller such as, logging in, checking for Admin page content etc. Is
> > there a better way to access this repetitious code from another file
> without
> > rewriting it for each controller ?
> >
> > Thanks in advance
> >
> > Kirk
> >
>
> Hi Kirk,
>
> Take a look at Test::FITesque -- it allows you to create groups of
> tests in a package, and then build a table of the tests.  It's served
> me well, but I don't have any detailed example to show.  If there is
> further interest, I can try to cobble one together :)
>
> -J
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090206/5a4b8=
c01/attachment.htm


More information about the Catalyst mailing list