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:Backports:SLE-15-SP5
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.5: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
Yuchen Lin (maxlin_factory)
committed
(revision 2)
branch from SP4 Backports
Comments 0