Package perl-Test-Warnings-0.026-7.el8.src
| Name | perl-Test-Warnings |
|---|---|
| Epoch | 0 |
| Version | 0.026 |
| Release | 7.el8 |
| Architecture | src |
| Website/URL | http://search.cpan.org/dist/Test-Warnings |
| License | GPL+ or Artistic |
| Build Time | 2023-12-08 21:17:44 |
| Build Host | builder-x86-04.inferitos.ru |
| Summary | Test for warnings and the lack of them |
| Repositories | PowerTools |
| Description | 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. |
| Errata | — |
| Size | 55 KiB |
| Source Project | perl-Test-Warnings-0.026-7.el8 |
| SHA-256 checksum | bce4c405ec88a73b90a626d6662bf64856e4b6a7511719ac0cc69fdbeff6a507 |
×
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.026-7
- Rebuilt for MSVSphere 8.8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.026-5
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.026-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jan 27 2016 Paul Howarth <paul@city-fan.org> - 0.026-1
- Update to 0.026
- Fixed use of modules loaded by t/zzz-check-breaks.t
- Fix stderr suppression on perl 5.6
* Mon Jan 25 2016 Paul Howarth <paul@city-fan.org> - 0.025-1
- Update to 0.025
- Prereqs lowered from required to suggested:
- CPAN::Meta::Check
- CPAN::Meta::Requirements
- Tests are now quieter to avoid causing confusion, by suppressing the
printing of stderr in tests
* Sun Dec 27 2015 Paul Howarth <paul@city-fan.org> - 0.024-1
- Update to 0.024
- Remove diagnostics accidentally left in new test