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

Package: libtest-failwarnings-perl (0.8-1)

module for adding test failures if warnings are caught

Test::FailWarnings hooks $SIG{__WARN__} and converts warnings to Test::More's fail() calls. It is designed to be used with done_testing, when you don't need to know the test count in advance.

Just as with Test::NoWarnings, this does not catch warnings if other things localize $SIG{__WARN__}, as this is designed to catch unhandled warnings.

Other Packages Related to libtest-failwarnings-perl

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

Download libtest-failwarnings-perl

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