LogoopenSUSE Build Service > Projects
Sign Up | Log In

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.

Source Files

Filename Size Changed Actions
_aggregate 139 Bytes over 2 years ago Download File

Comments for home:lnt-sysadmin:web-support:lntwww:dependencies (0)