Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Deep CPAN distribution.

Report information
The Basics
Id: 13773
Status: resolved
Priority: 0/
Queue: Test-Deep

People
Owner: Nobody in particular
Requestors: ssoriche [...] coloredblocks.net
Cc:
AdminCc:

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



Subject: Test::Deep failures with newer Test::Tester
New version of Test::Tester warns if it is not loaded before Test::Builder or modules that use Test::Builder. Normally this is just a warning, however because the use Test::Tester statement is in t/std.pm, it's causing an error and all tests to fail. I've included a patch to fix this problem. Yes it's a small patch but it does fix the problem :-) Basically moving the use Test::Tester line to the top. I've had the same results on Mac OS X 10.4.2 and FreeBSD 5.4. Test::Tester version: perl -MTest::Tester -e 'print "$Test::Tester::VERSION\n";' 0.102
--- Test-Deep-0.087.org/t/std.pm 2004-08-06 21:07:11.000000000 -0400 +++ Test-Deep-0.087/t/std.pm 2005-07-19 07:49:05.000000000 -0400 @@ -1,10 +1,10 @@ +use Test::Tester; use Test::More qw(no_plan); use Test::NoWarnings; use Test::Deep; -use Test::Tester; Test::Deep::builder(Test::Tester::capture());
Date: Tue, 19 Jul 2005 14:03:19 +0100
From: Fergal Daly <fergald [...] gmail.com>
To: bug-Test-Deep [...] rt.cpan.org
Subject: Re: [cpan #13773] Test::Deep failures with newer Test::Tester
RT-Send-Cc:
Thanks, I should really be more careful with my own modules but time is pretty short. I'll upload to CPAN tonight, F On 7/19/05, via RT <bug-Test-Deep@rt.cpan.org> wrote: Show quoted text
> > This message about Test-Deep was sent to you by SSORICHE <SSORICHE@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=13773 > > > New version of Test::Tester warns if it is not loaded before Test::Builder or modules that use Test::Builder. Normally this is just a warning, however because the use Test::Tester statement is in t/std.pm, it's causing an error and all tests to fail. I've included a patch to fix this problem. Yes it's a small patch but it does fix the problem :-) Basically moving the use Test::Tester line to the top. > > I've had the same results on Mac OS X 10.4.2 and FreeBSD 5.4. > > Test::Tester version: > > perl -MTest::Tester -e 'print "$Test::Tester::VERSION\n";' > 0.102 > >