Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Must specify a test app: use Catalyst::Test 'TestApp' at ../../ at line 40

by kamal (Sexton)
on Jan 28, 2013 at 15:56 UTC ( #1015723=perlquestion: print w/replies, xml ) Need Help??
kamal has asked for the wisdom of the Perl Monks concerning the following question:

in B_UI_Mechanized_Login.t
##============================================================ ## Catalyst Test Server ##============================================================ use_ok 'Catalyst::Test', 'BServer'; my $mech = Test::WWW::Mechanize::Catalyst->new(catalyst_app => 'BServe +r'); But a sample test app, on Catalyst web site uses the following syntax: # Need to specify the name of your app as arg on next line # Can also do: # use Test::WWW::Mechanize::Catalyst "MyApp"; BEGIN { use_ok("Test::WWW::Mechanize::Catalyst" => "MyApp") }
Not quite sure where to begin troubleshooting this, as i am new to Catalyst. I am using Catalyst version 5.90010 with perl, v5.8.8, on ubuntu 12.04
  • Comment on Must specify a test app: use Catalyst::Test 'TestApp' at ../../ at line 40
  • Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1015723]
Approved by Corion
[Corion]: I just found out that in $current_top_prior ity_project , the part I am in is not even in the top three worries. That's somewhat bad, not because I'm happy with being a top worry but because that means that I don't even know how bad the rest ...
[Corion]: ... of the situation is :-)
[marto]: it's good to know that things can always get worse :P
[hippo]: Ignorance can be bliss
[Corion]: hippo: Yeah - I'll just avoid the project lead :)
[Corion]: marto: Yeah, it helps with the perspective :-D

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-07-26 08:13 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (385 votes). Check out past polls.