./devel/p5-Test-FailWarnings, Add test failures if warnings are caught

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2015Q3, Version: 0.008nb1, Package name: p5-Test-FailWarnings-0.008nb1, Maintainer: pkgsrc-users

This module 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.


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: 1143fb4d9882fed555b37cd6869a4f577cde6ad5
RMD160: 18064d483c8e9a8376a33943d1eeef5c87640641
Filesize: 13.412 KB

Version history: (Expand)