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.
- Devel package for openSUSE:Factory
-
1
derived packages
- Links to openSUSE:Factory / perl-Test-FailWarnings
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Test-FailWarnings && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Test-FailWarnings-0.007.tar.gz | 0000013262 13 KB | |
_link | 0000000124 124 Bytes | |
perl-Test-FailWarnings.changes | 0000000355 355 Bytes | |
perl-Test-FailWarnings.spec | 0000002137 2.09 KB |
Revision 6 (latest revision is 11)
Joschi Brauchle (endzone)
committed
(revision 6)
Comments 0