Skip Menu |
 

This queue is for tickets about the Catalyst-View-Mason CPAN distribution.

Report information
The Basics
Id: 102381
Status: open
Priority: 0/
Queue: Catalyst-View-Mason

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Test suite fails with Catalyst 5.90079_004 and later
Download (untitled) / with headers
text/plain 291b
http://matrix.cpantesters.org/?dist=Catalyst-View-Mason%200.19 shows a random pass/fail pattern for this distribution. http://analysis.cpantesters.org/solved?distv=Catalyst-View-Mason-0.19#mod%3ACatalyst suggests that the problem might be caused by Catalyst 5.90079_004 and later versions.
Subject: Re: [rt.cpan.org #102381] Test suite fails with Catalyst 5.90079_004 and later
Date: Sat, 28 Feb 2015 11:27:13 -0800
To: bug-Catalyst-View-Mason [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
Download (untitled) / with headers
text/plain 145b
I don’t use Catalyst or Mason much these days. Any Catalysters or Masonites out there want to take a swag at fixing this issue? Best, David
debug.t is easy enough to get passing. Just use a more reasonable IO redirection system ( Capture::Tiny ) instead of relying on a quirky tied glob interface.

Subject: debug.t.patch
Download debug.t.patch
text/x-diff 942b
--- t/debug.t 2014-12-30 09:50:47.000000000 +1300 +++ t/debug.t 2015-03-30 05:47:27.450513977 +1300 @@ -4,8 +4,8 @@ use warnings; use Test::More; -eval "use IO::Capture::Stderr"; -plan skip_all => "IO::Capture::Stderr required for debug testing" if $@; +eval "use Capture::Tiny"; +plan skip_all => "Capture::Tiny required for debug testing" if $@; plan tests => 3; @@ -14,15 +14,15 @@ $ENV{CATALYST_DEBUG} = 1; -my $capture = IO::Capture::Stderr->new; -$capture->start; +my $response; +my $capture = Capture::Tiny::capture_stderr(sub{ -use_ok('Catalyst::Test', 'TestApp'); + use_ok('Catalyst::Test', 'TestApp'); -my $response = request('/test'); + $response = request('/test'); -$capture->stop; +}); ok($response->is_success, 'request ok'); -like(join('', $capture->read), qr{\[debug\] Rendering component "/test"}, 'debug message ok'); +like($capture, qr{\[debug\] Rendering component "/test"}, 'debug message ok');
Subject: Re: [rt.cpan.org #102381] Test suite fails with Catalyst 5.90079_004 and later
Date: Thu, 2 Apr 2015 15:10:12 -0700
To: bug-Catalyst-View-Mason [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
Oh, just realized this isn’t my module. Not sure why I’m co-maint. D


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.