How to Install and Uninstall perl-Test-FailWarnings Package on openSUSE Leap

Last updated: November 27,2024

1. Install "perl-Test-FailWarnings" package

Please follow the instructions below to install perl-Test-FailWarnings on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Test-FailWarnings

2. Uninstall "perl-Test-FailWarnings" package

Please follow the guidance below to uninstall perl-Test-FailWarnings on openSUSE Leap:

$ sudo zypper remove perl-Test-FailWarnings

3. Information about the perl-Test-FailWarnings package on openSUSE Leap

Information for package perl-Test-FailWarnings:
-----------------------------------------------
Repository : Main Repository
Name : perl-Test-FailWarnings
Version : 0.008-bp155.2.12
Arch : noarch
Vendor : openSUSE
Installed Size : 27.7 KiB
Installed : No
Status : not installed
Source package : perl-Test-FailWarnings-0.008-bp155.2.12.src
Upstream URL : http://search.cpan.org/dist/Test-FailWarnings/
Summary : Add test failures if warnings are caught
Description :
This module hooks '$SIG{__WARN__}' and converts warnings to the Test::More
manpage '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 the Test::NoWarnings manpage, this does not catch warnings if
other things localize '$SIG{__WARN__}', as this is designed to catch
_unhandled_ warnings.