[ 源代码: libtest-failwarnings-perl ]
软件包:libtest-failwarnings-perl(0.8-4)
libtest-failwarnings-perl 的相关链接
Debian 的资源:
下载源码包 libtest-failwarnings-perl:
- [libtest-failwarnings-perl_0.8-4.dsc]
- [libtest-failwarnings-perl_0.8.orig.tar.gz]
- [libtest-failwarnings-perl_0.8-4.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
- libtest2-plugin-nowarnings-perl
- libtest-nowarnings-perl
- libtest-http-server-simple-stashwarnings-perl
- libtest-filename-perl
- libtest-pod-no404s-perl
- libtest-deep-perl
- libweb-simple-perl
- libplack-middleware-test-stashwarnings-perl
- libtest-lwp-useragent-perl
- libclass-whitehole-perl
- libtext-mediawikiformat-perl
module for adding test failures if warnings are caught
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.