[Catalyst] App testing with Test::WWW::Mechanize::Catalyst
ivorw
m9tn-oh4c at xemaps.com
Thu Jul 31 14:11:11 BST 2008
Marius Kjeldahl wrote:
> I'm trying to set up application testing the with module described in
> the subject.
>
> However, when my application is loaded in the testscript with:
>
> use_ok ('Test::WWW::Mechanize::Catalyst', 'CalApp');
> my $u = Test::WWW::Mechanize::Catalyst->new;
>
Have you tried the next step, which is usually
$u->get_ok( 'http://localhost/', 'Request should succeed' );
Secondly, have you tried running with catalyst debug turned on? You
might want to run your test with CATALYST_DEBUG=1 in order to see what
is happening.
More information about the Catalyst
mailing list