Пакет perl-Test-Warnings-0.026-7.el8.noarch
Имя | perl-Test-Warnings |
---|---|
Эпоха | 0 |
Версия | 0.026 |
Релиз | 7.el8 |
Архитектура | noarch |
Сайт | http://search.cpan.org/dist/Test-Warnings |
Лицензия | GPL+ or Artistic |
Время сборки | 2023-12-08 21:17:53 |
Хост сборки | builder-x86-04.inferitos.ru |
Краткое описание | Test for warnings and the lack of them |
Репозитории | PowerTools |
Полное описание | 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. |
Эррата | — |
Размер | 37 КиБ |
Исходный проект | perl-Test-Warnings-0.026-7.el8 |
Контрольная сумма SHA-256 | fe9a00122041c0ff0d934b25e26588b82a341b4a7b812a18d1da2288e3ad19a9 |
×
* 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