Mon, 20 May 2024 02:28:23 UTC | login

Information for build perl-Test-Warnings-0.030-1.fc33

ID136590
Package Nameperl-Test-Warnings
Version0.030
Release1.fc33
Epoch
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.
Built bydavidlt
State complete
Volume DEFAULT
StartedThu, 26 Mar 2020 14:04:47 UTC
CompletedThu, 26 Mar 2020 14:04:47 UTC
Tags
f33
RPMs
src
perl-Test-Warnings-0.030-1.fc33.src.rpm (info) (download)
noarch
perl-Test-Warnings-0.030-1.fc33.noarch.rpm (info) (download)
Changelog * 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 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.026-11 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.026-8 - Perl 5.28 rebuild