Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libtest-warnings-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libtest-warnings-perl  ]

套件: libtest-warnings-perl (0.026-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.

其他與 libtest-warnings-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libtest-warnings-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 15.4 kB47 kB [文件列表]