Exherbo
GitLab
Packages
dev-perl/Test-FailWarnings
Add test failures if warnings are caught.
Versions
Slot
Version
Repository
Platforms
0
0.008-r1
perl
~amd64
arm?
armv7?
armv8?
x86?
Metadata
Homepage
https://metacpan.org/release/Test-FailWarnings/
Summary
Add test failures if warnings are caught
Description
This module hooks {__WARN__} and converts warnings to Test::More '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 {__WARN__}, as this is designed to catch *unhandled* warnings.
Upstream changelog
https://metacpan.org/changes/distribution/Test-FailWarnings
Dependencies
(
(
build+run:
dev-perl/Capture-Tiny[>=0.12]
)
(
build+run:
dev-lang/perl:=
)
)
Downloads
mirror://cpan/authors/id/D/DA/DAGOLDEN/Test-FailWarnings-0.008.tar.gz
Licences
|| (
Artistic
GPL-1
GPL-2
GPL-3
)