Bug#708266: ITP: libtest-failwarnings-perl -- module for adding test failures if warnings are caught
Package: wnpp
Severity: wishlist
Owner: Oleg Gashev <oleg@gashev.net>
* Package name : libtest-failwarnings-perl
Version : 0.005
Upstream Author : David Golden <dagolden@cpan.org>
* URL : https://metacpan.org/release/Test-FailWarnings/
* License : Apache-2.0
Programming Lang: Perl
Description : module for adding test failures if warnings are caught
Test::FailWarnings hooks $SIG{__WARN__} and converts warnings to Test::More's
fail() calls. It is designed to be used with done_testing, when you don't
need to know the test count in advance.
.
Just as with Test::NoWarnings, this does not catch warnings if other things
localize $SIG{__WARN__}, as this is designed to catch unhandled warnings.
Reply to: