libtest-nowarnings-perl 1.06-ok1 source package in openKylin
Changelog
libtest-nowarnings-perl (1.06-ok1) yangtze; urgency=low * Build for openkylin. -- denghao <email address hidden> Tue, 23 Aug 2022 11:05:13 +0300
libtest-nowarnings-perl (1.06-ok1) yangtze; urgency=low * Build for openkylin. -- denghao <email address hidden> Tue, 23 Aug 2022 11:05:13 +0300
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
libtest-nowarnings-perl_1.06.orig.tar.gz | 19.0 KiB | c2dc51143b7eb63231210e27df20d2c8393772e0a333547ec8b7a205ed62f737 |
libtest-nowarnings-perl_1.06-ok1.debian.tar.xz | 9.9 KiB | be7a057ce421cc3bac03445798d6e8afc2d68cf1033319b4db433e9e8f51afb3 |
libtest-nowarnings-perl_1.06-ok1.dsc | 1.9 KiB | 894c64dc00111ac8316109c47c18c40a1c5e31271442e00bb9de68ed920df1ab |
In general, your tests shouldn't produce warnings. This module causes any
warnings to be captured and stored. It automatically adds an extra test that
will run when your script ends to check that there were no warnings. If there
were any warnings, the test will give a "not ok" and diagnostics of where, when
and what the warning was, including a stack trace of what was going on when
it occurred.
.
If some of your tests are supposed to produce warnings then you should be
capturing and checking them with Test::Warn, that way Test::NoWarnings will
not see them and so not complain.
.
The test is run by an END block in Test::NoWarnings. It will not be run when
any forked children exit.