[ 源代码: libtest-warnings-perl ]
软件包:libtest-warnings-perl(0.033-1)
libtest-warnings-perl 的相关链接
Debian 的资源:
下载源码包 libtest-warnings-perl:
- [libtest-warnings-perl_0.033-1.dsc]
- [libtest-warnings-perl_0.033.orig.tar.gz]
- [libtest-warnings-perl_0.033-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
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.