libtest-warnings-perl

Perl module to test for warnings and the lack of them

Description

If you've ever tried to use Test::NoWarnings to confirm there are no warnings generated by your tests, combined with the convenience of done_testing to not have to declare a test count, you'll have discovered that these two features do not play well together, as the test count will be calculated before the warnings test is run, resulting in a TAP error.

Test::Warnings is intended to be used as a drop-in replacement for Test::NoWarnings. It can also be used as a replacement for Test::Warn, if you wish to test the content of expected 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-Warnings


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-warnings-perl