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-SP1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP1: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
Ismail Dönmez (namtrac)
committed
(revision 3)
osc copypac from project:openSUSE:Leap:15.1 package:perl-Test-FailWarnings revision:9
Comments 0