[ ソース: 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
- libclass-whitehole-perl
- libtest-lwp-useragent-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.