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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.1/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 |
Revision 1 (latest revision is 2)
Stephan Kulow (coolo)
committed
(revision 1)
osc copypac from project:openSUSE:Factory package:perl-Test-FailWarnings revision:0dc0a0e25fa474549013dea87bd4bf08, using expand
Comments 0