[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#720023: ITP: libtest-warnings-perl -- Test for warnings and the lack of them

Package: wnpp
Severity: wishlist
Owner: Florian Schlichting <fsfs@debian.org>

* Package name    : libtest-warnings-perl
  Version         : 0.008
  Upstream Author : Karen Etheridge <ether@cpan.org>
* URL             : http://search.cpan.org/dist/Test-Warnings/
* License         : GPL-1+, Artistic
  Programming Lang: Perl
  Description     : Perl module to test for warnings and the lack of them

If you've ever tried to use Test::NoWarnings to confirm there are no
warnings generated by your tests, combined with the convenience of
done_testing to not have to declare a test count, you'll have discovered
that these two features do not play well together, as the test count
will be calculated before the warnings test is run, resulting in a TAP

Test::Warnings is intended to be used as a drop-in replacement for
Test::NoWarnings. It can also be used as a replacement for Test::Warn,
if you wish to test the content of expected warnings.

Reply to: