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

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


Branch: pkgsrc-2013Q3, Version: 0.007, Package name: p5-Test-FailWarnings-0.007, 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 build:
[devel/p5-Capture-Tiny]

Master sites: (Expand)

SHA1: 9031827e0da421b7710552e1bdc41a99a7c2a2e7
RMD160: 3ed32a65a2c19258bf6d52bd2457bb9c145e8cda
Filesize: 12.951 KB

Version history: (Expand)