Add test failures if warnings are caught
This module hooks '$SIG{__WARN__}' and converts warnings to the Test::More
manpage'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 the Test::NoWarnings manpage, this does not catch warnings if
other things localize '$SIG{__WARN__}', as this is designed to catch
_unhandled_ warnings.
- Links to openSUSE:Factory / perl-Test-FailWarnings
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout Application:Dochazka/perl-Test-FailWarnings && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
Test-FailWarnings-0.008.tar.gz | 0000013734 13.4 KB | |
perl-Test-FailWarnings.changes | 0000001067 1.04 KB | |
perl-Test-FailWarnings.spec | 0000002294 2.24 KB |
Latest Revision
Nathan Cutler (smithfarm)
committed
(revision 1)
Comments 0