libtest-failwarnings-perl

module for adding test failures if warnings are caught

Description

Test::FailWarnings hooks $SIG{__WARN__} and converts warnings to Test::More'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 Test::NoWarnings, this does not catch warnings if other things localize $SIG{__WARN__}, as this is designed to catch unhandled warnings.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Test-FailWarnings


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libtest-failwarnings-perl