Skip to content
Sections
>> Trisquel >> Packages >> nabia >> perl >> libtest-warnings-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libtest-warnings-perl  ]

Package: libtest-warnings-perl (0.028-1)

Perl module to 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.

Test::Warnings is intended to be used as a drop-in replacement for Test::NoWarnings. It can also be used as a replacement for Test::Warn, if you wish to test the content of expected warnings.

Other Packages Related to libtest-warnings-perl

  • depends
  • recommends
  • suggests
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Download libtest-warnings-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 16.7 kB46 kB [list of files]