[Catalyst] Newbie needs help with tutorial

catalyst.20.chsg at spamgourmet.com catalyst.20.chsg at spamgourmet.com
Fri Nov 10 19:50:57 GMT 2006


Thanks for that tip.  I'm looking forward to learning about TDD in
Catalyst/Perl.

I created a course not to long ago about unit testing for a software
company and am really sold on it.


On 11/10/06, Kieren Diment - diment at gmail.com
<+catalyst+chsg+990958990c.diment#gmail.com at spamgourmet.com> wrote:
>
>
> On 03/11/06, John Napiorkowski <jjn1056 at yahoo.com> wrote:
> >
> > You'll find that a lot of dispatched methods in
> > Catalyst are wrapped in an eval so that it can catch
> > errors for you.  'eval 99' is referring to spot in the
> > evaled code.
> >
> > I've found that it can be a bit hard to debug what's
> > going wrong when the DBIx schema classes have errors.
> > Try checking that all the required modules are loaded
> > and so forth.  Use 'perl -c ...' to to a sanity check
> > on the syntax.  Try paring down the components you are
> > loading to see if you can ID the missing or troubled
> > part.
> >
> > Start with the DBIx schemas you created, looks like
> > that is the core of the issue.
>
>
> This is also what test driven development is for :)
>
> Have a look at Catalyst::Manual::Tutorial::Testing
>
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
>
>



More information about the Catalyst mailing list