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.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/perl-Test-FailWarnings && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Test-FailWarnings-0.005.tar.gz | 0000013799 13.5 KB | |
perl-Test-FailWarnings.changes | 0000000208 208 Bytes | |
perl-Test-FailWarnings.spec | 0000002206 2.15 KB |
Revision 1 (latest revision is 6)
Stephan Kulow (coolo)
accepted
request 185085
from
Stephan Kulow (coolo)
(revision 1)
needed by perl-Path-Tiny
Comments 0