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.
- Sources inherited from project openSUSE:Leap:42.1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.1:Update/perl-Test-FailWarnings && cd $_
- Create Badge
Refresh
Refresh
Source Files
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
Stephan Kulow (coolo)
committed
(revision 2)
vrev bump
Comments 0