Skip Menu |
 

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

Report information
The Basics
Id: 52412
Status: rejected
Priority: 0/
Queue: Test-NoWarnings

People
Owner: Nobody in particular
Requestors: perl-cpan [...] bereft.net
ether [...] cpan.org
Cc:
AdminCc:

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



Subject: Test::NoWarnings and Test::More done_testing() extra test
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 757
Download (untitled) / with headers
text/plain 757b
Hello, Test::More 0.87_01 added a done_testing(), a feature to replace no_plan, and I've noticed a compatibility issue with Test::NoWarnings. It can't be considered a bug in Test::NoWarnings, but is worth mentioning anyway: $ perl -MTest::More -MTest::NoWarnings -e 'ok(1); done_testing()' ok 1 1..1 ok 2 - no warnings # Looks like you planned 1 test but ran 2. # same in an END: $ perl -MTest::NoWarnings -MTest::More -e 'ok(1); END { done_testing() }' ok 1 1..1 ok 2 - no warnings # Looks like you planned 1 test but ran 2. $ pmvers Test::More 0.94 $ pmvers Test::NoWarnings 0.084 $ perl -v This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi Also reported at Test::More: http://code.google.com/p/test-more/issues/detail?id=56 Thanks
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-20771-1361399477-600.52412-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 349
Download (untitled) / with headers
text/plain 349b
On Thu Dec 03 15:39:12 2009, BOWMANBS wrote: Show quoted text
On that ticket there was a suggestion of putting the nowarnings functionality into Test::More directly. Was there any appetite for this? I also strongly desire for done_testing to play nicely with Test::NoWarnings.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-20771-1361399477-600.52412-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-3.8.HEAD-20771-1361399477-600.52412-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-10429-1379978323-576.52412-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 125
Download (untitled) / with headers
text/plain 125b
For anyone following along at home, I created http://metacpan.org/module/Test::Warnings so as to better handle done_testing.


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.