Well I am certainly interested, if you are in the cobbling mood? Thank you so much!!<br><br><div class="gmail_quote">On Fri, Feb 6, 2009 at 4:14 PM, J. Shirley <span dir="ltr"><<a href="mailto:jshirley@gmail.com">jshirley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Fri, Feb 6, 2009 at 11:37 AM, kirk beers <<a href="mailto:kgbjed@gmail.com">kgbjed@gmail.com</a>> wrote:<br>
> Hello folks,<br>
><br>
> I am in the process of testing my Catalyst application. This application<br>
> contains 5 controllers and I find I am using repetitious tests for each<br>
> controller such as, logging in, checking for Admin page content etc. Is<br>
> there a better way to access this repetitious code from another file without<br>
> rewriting it for each controller ?<br>
><br>
> Thanks in advance<br>
><br>
> Kirk<br>
><br>
<br>
</div></div>Hi Kirk,<br>
<br>
Take a look at Test::FITesque -- it allows you to create groups of<br>
tests in a package, and then build a table of the tests. It's served<br>
me well, but I don't have any detailed example to show. If there is<br>
further interest, I can try to cobble one together :)<br>
<br>
-J<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</blockquote></div><br>