Skip Menu |

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

Report information
The Basics
Id: 36603
Status: open
Priority: 0/
Queue: Test-NoWarnings

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

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



Subject: Requires a plan even though Pod says otherwise
Synopsis says I don't need to specify a plan, but an actual test suggests I do. (At least with the latest Test::More and Test::Harness that are strict about plans.) You might also want to change import() to allow "use Test::NoWarnings tests => 1" as many other Test::* modules do. See Test::Exception as an example.
Subject: Re: [rt.cpan.org #36603] Requires a plan even though Pod says otherwise
Date: Tue, 10 Jun 2008 00:15:39 +0100
To: bug-Test-NoWarnings [...] rt.cpan.org
From: "Fergal Daly" <fergal [...] esatclear.ie>
2008/6/9 David Golden via RT <bug-Test-NoWarnings@rt.cpan.org>: Show quoted text
> Mon Jun 09 18:36:07 2008: Request 36603 was acted upon. > Transaction: Ticket created by DAGOLDEN > Queue: Test-NoWarnings > Subject: Requires a plan even though Pod says otherwise > Broken in: 0.084 > Severity: Normal > Owner: Nobody > Requestors: dagolden@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=36603 > > > > Synopsis says I don't need to specify a plan, but an actual test > suggests I do. (At least with the latest Test::More and Test::Harness > that are strict about plans.)
Thanks. The synopsis is ambiguous. It was written from the POV of adding Test::NoWarnings to an already functioning test script. What I meant is that if your script already specified "no_plan" then you can just add use Test::NoWarnings without having to make any changes. Test::NoWarnings was not intended to be the only Test::* module in a test script. Of course there's no reason it couldn't be and so I'll clarify the docs and maybe add an import but this is not high on my list of things to do, F Show quoted text
> You might also want to change import() to allow "use Test::NoWarnings > tests => 1" as many other Test::* modules do. See Test::Exception as an > example. > >