Skip Menu |

This queue is for tickets about the Test-WWW-Mechanize-Catalyst CPAN distribution.

Report information
The Basics
Id: 12365
Status: resolved
Priority: 0/
Queue: Test-WWW-Mechanize-Catalyst

People
Owner: Nobody in particular
Requestors: jesse [...] fsck.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Thu, 21 Apr 2005 02:24:25 -0400
From: jesse <jesse [...] fsck.com>
To: bug-test-www-mechanize-catalyst [...] rt.cpan.org
Subject: test failure
sh-3.00# cd Test-WWW-Mechanize-Catalyst-0.31/ sh-3.00# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/pod.............ok t/pod_coverage....ok t/simple..........Can't locate object method "get_ok" via package "Test::WWW::Mechanize::Catalyst" at t/simple.t line 13. # Looks like your test died before it could output anything. t/simple..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-9 Failed 9/9 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/simple.t 255 65280 9 18 200.00% 1-9 Failed 1/3 test scripts, 66.67% okay. 9/11 subtests failed, 18.18% okay. make: *** [test_dynamic] Error 2 sh-3.00# --
Can't reproduce. Can you?
From: Shlomi Fish
[LBROCARD - Thu Apr 28 16:05:07 2005]: Show quoted text
> Can't reproduce. Can you?
I can. The problem is that T::W::M::C does not work with versions of Test::WWW::Mechanize older than 1.04. Attached is a patch to correct the problem.
--- Test-WWW-Mechanize-Catalyst-0.32/Makefile.PL.orig 2005-06-07 16:10:44.541476856 +0300 +++ Test-WWW-Mechanize-Catalyst-0.32/Makefile.PL 2005-06-07 16:10:53.182163272 +0300 @@ -9,7 +9,7 @@ 'PREREQ_PM' => { 'Test::More' => '0', 'Catalyst' => '5.00', - 'Test::WWW::Mechanize' => '0' + 'Test::WWW::Mechanize' => '1.04' } ) ; --- Test-WWW-Mechanize-Catalyst-0.32/Build.PL.orig 2005-06-07 16:12:43.750354352 +0300 +++ Test-WWW-Mechanize-Catalyst-0.32/Build.PL 2005-06-07 16:11:04.403457376 +0300 @@ -8,7 +8,7 @@ requires => { 'Test::More' => '0', 'Catalyst' => '5.00', - 'Test::WWW::Mechanize' => '0', + 'Test::WWW::Mechanize' => '1.04', }, ); $build->create_build_script;