Mon, 23 Sep 2024 00:44:03 CST | login

Information for RPM perl-Test-Warnings-0.026-7.module+el8.3.0+19+d26bed36.noarch.rpm

ID27248
Nameperl-Test-Warnings
Version0.026
Release7.module+el8.3.0+19+d26bed36
Epoch
Archnoarch
SummaryTest for warnings and the lack of them
DescriptionIf you've ever tried to use Test::NoWarnings to confirm there are no warnings generated by your tests, combined with the convenience of done_testing to not have to declare a test count, you'll have discovered that these two features do not play well together, as the test count will be calculated before the warnings test is run, resulting in a TAP error (see examples/test_nowarnings.pl in this distribution for a demonstration). This module is intended to be used as a drop-in replacement for Test::NoWarnings: it also adds an extra test, but runs this test before done_testing calculates the test count, rather than after. It does this by hooking into done_testing as well as via an END block. You can declare a plan, or not, and things will still Just Work. It is actually equivalent to: use Test::NoWarnings 1.04 ':early'; as warnings are still printed normally as they occur. You are safe, and enthusiastically encouraged, to perform a global search-replace of the above with use Test::Warnings; whether or not your tests have a plan.
Build Time2021-05-20 20:24:25 GMT
Size36.30 KB
d921fd5d90580175805adbb9bf3d44bd
LicenseGPL+ or Artistic
Buildrootmodule-perl-bootstrap-5.30-8030020210514144138-30b713e6-build-9132-2325
Provides
perl(Test::Warnings) = 0.026
perl-Test-Warnings = 0.026-7.module+el8.3.0+19+d26bed36
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
perl(:MODULE_COMPAT_5.30.1)
perl(Carp)
perl(Exporter)
perl(Test::Builder)
perl(parent)
perl(strict)
perl(warnings)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 19 of 19
Name ascending sort Size
/usr/share/doc/perl-Test-Warnings0.00 B
/usr/share/doc/perl-Test-Warnings/CONTRIBUTING3.81 KB
/usr/share/doc/perl-Test-Warnings/Changes4.34 KB
/usr/share/doc/perl-Test-Warnings/README379.00 B
/usr/share/doc/perl-Test-Warnings/examples0.00 B
/usr/share/doc/perl-Test-Warnings/examples/no_plan.t575.00 B
/usr/share/doc/perl-Test-Warnings/examples/sub.t279.00 B
/usr/share/doc/perl-Test-Warnings/examples/synopsis_1.t186.00 B
/usr/share/doc/perl-Test-Warnings/examples/synopsis_2.t331.00 B
/usr/share/doc/perl-Test-Warnings/examples/test_nowarnings.t109.00 B
/usr/share/doc/perl-Test-Warnings/examples/test_warning_contents.t713.00 B
/usr/share/doc/perl-Test-Warnings/examples/warning_like.t698.00 B
/usr/share/doc/perl-Test-Warnings/examples/with_done_testing.t695.00 B
/usr/share/doc/perl-Test-Warnings/examples/with_plan.t652.00 B
/usr/share/licenses/perl-Test-Warnings0.00 B
/usr/share/licenses/perl-Test-Warnings/LICENCE17.93 KB
/usr/share/man/man3/Test::Warnings.3pm.gz5.03 KB
/usr/share/perl5/vendor_perl/Test0.00 B
/usr/share/perl5/vendor_perl/Test/Warnings.pm12.50 KB
Component of No Buildroots