Path to this page:
./
devel/p5-Test-FailWarnings,
Add test failures if warnings are caught
Branch: pkgsrc-2022Q2,
Version: 0.008nb7,
Package name: p5-Test-FailWarnings-0.008nb7,
Maintainer: pkgsrc-usersThis 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.
Master sites: (Expand)
Filesize: 13.412 KB
Version history: (Expand)
- (2022-06-30) Package added to pkgsrc.se, version p5-Test-FailWarnings-0.008nb7 (created)