Source: libtest-failwarnings-perl Maintainer: Debian Perl Group Uploaders: Niko Tyni Section: perl Rules-Requires-Root: no Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 10), perl Build-Depends-Indep: libcapture-tiny-perl (>= 0.12), perl (>= 5.13.4) | libtest-simple-perl (>= 0.96) Standards-Version: 4.1.3 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtest-failwarnings-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libtest-failwarnings-perl.git Homepage: https://metacpan.org/release/Test-FailWarnings Package: libtest-failwarnings-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} 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.