[Catalyst-dev] Catalyst test suite

Yuri Shtil yuris at juniper.net
Tue May 6 19:03:04 BST 2008


YeAAA!! I got the tests working after updating Catalyst.

Thank you SO much.

Jonathan Rockway wrote:
> * On Tue, May 06 2008, Yuri Shtil wrote:
>   
>> I just fetched the trunk (am not sure whether it is 5.7) 
>>     
>
> 5.70 is in the name of the directory; make sure you got the correct
> tree:
>
>  http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.70/trunk
>
> I'm not sure why something is trying to load the module with a + in the
> name.  When you are telling Catalyst which plugins to load, the leading
> + means to not prepend "Catalyst::Plugin::".  For example, 
> "use Catalyst qw(Foo +Bar)" would load two modules,
> "Catalyst::Plugin::Foo", and "Bar".  The + should never be interpreted
> directly.
>
> Anyway, do this.  In the working copy, run "perl Makefile.PL" and "make
> test".  Do the tests pass normally?  If not, something is wrong with
> your perl or environment.  If it works, then everything is OK with
> Catalyst.  (The problem would be with how you are invoking the tests, or
> your own engine code.)
>
> I have a feeling you have an old Catalyst installed and are running the
> tests against that.  If you want to run an individual test, you need to
> say "perl -Ilib t/foo.t", not "perl t/foo.t".  That will cause perl to
> use the Catalyst in the current directory instead of the installed
> version.
>
> Hope this helps.
>
> Regards,
> Jonathan Rockway
>
>   



More information about the Catalyst-dev mailing list