Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Test-Warnings | Distribution: CentOS |
Version: 0.030 | Vendor: CentOS |
Release: 6.el9 | Build date: Tue Aug 10 05:16:15 2021 |
Group: Unspecified | Build host: x86-03.stream.rdu2.redhat.com |
Size: 52501 | Source RPM: perl-Test-Warnings-0.030-6.el9.src.rpm |
Packager: builder@centos.org | |
Url: https://metacpan.org/release/Test-Warnings | |
Summary: Test for warnings and the lack of them |
If 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.
GPL+ or Artistic
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.030-6 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.030-5 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.030-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.030-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.030-2 - Perl 5.32 rebuild * Sun Mar 22 2020 Paul Howarth <paul@city-fan.org> - 0.030-1 - Update to 0.030 - Fix tests that can fail when there is already an installed module named Foo::Bar::Baz (CPAN RT#132140) * Sat Mar 14 2020 Paul Howarth <paul@city-fan.org> - 0.029-1 - Update to 0.029 - New :report_warnings feature, for printing all of the (unexpected) warning content when had_no_warnings() is called (GH#10) * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.028-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Dec 22 2019 Paul Howarth <paul@city-fan.org> - 0.028-1 - Update to 0.028 - Allow for warnings->import being called after importing the "warnings" sub * Sat Sep 28 2019 Paul Howarth <paul@city-fan.org> - 0.027-1 - Update to 0.027 - New :fail_on_warning feature, for more easily seeing where the surprising warning appeared during testing - Use author-independent source URL - Simplify find command using -delete
/usr/share/doc/perl-Test-Warnings /usr/share/doc/perl-Test-Warnings/CONTRIBUTING /usr/share/doc/perl-Test-Warnings/Changes /usr/share/doc/perl-Test-Warnings/README /usr/share/doc/perl-Test-Warnings/examples /usr/share/doc/perl-Test-Warnings/examples/no_plan.t /usr/share/doc/perl-Test-Warnings/examples/sub.t /usr/share/doc/perl-Test-Warnings/examples/synopsis_1.t /usr/share/doc/perl-Test-Warnings/examples/synopsis_2.t /usr/share/doc/perl-Test-Warnings/examples/test_nowarnings.t /usr/share/doc/perl-Test-Warnings/examples/test_warning_contents.t /usr/share/doc/perl-Test-Warnings/examples/warning_like.t /usr/share/doc/perl-Test-Warnings/examples/with_done_testing.t /usr/share/doc/perl-Test-Warnings/examples/with_plan.t /usr/share/licenses/perl-Test-Warnings /usr/share/licenses/perl-Test-Warnings/LICENCE /usr/share/man/man3/Test::Warnings.3pm.gz /usr/share/perl5/vendor_perl/Test /usr/share/perl5/vendor_perl/Test/Warnings.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Oct 29 07:50:18 2024