[Catalyst] Newbie Catalyst Testing Question
J. Shirley
jshirley at gmail.com
Fri Feb 6 20:14:19 GMT 2009
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
More information about the Catalyst
mailing list