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 (show merged sources derived from linked package)

Filename Size Changed Actions

Comments for home:smithfarm (0)

Login required, please login or signup in order to comment