Paketname | libtest-nowarnings-perl |
Beschreibung | Perl module to make sure you didn't emit any warnings while testing |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.084-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 72 Byte |
Hängt ab von | perl (>= 5.6.0-16), libtest-tester-perl (>= 0.103) |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 10708 Byte |
Prüfsumme MD5 | b86c6df2b1e2b807a985e9c2322b6392 |
Prüfsumme SHA1 | 600d934668a2339de5f28345a504b6a460cec4bf |
Prüfsumme SHA256 | 63552a083f809ab6906ff058b239695ce159b2cc7423f9e46d1d6f9721637d7a |
Link zum Herunterladen | libtest-nowarnings-perl_0.084-1_all.deb |
Ausführliche Beschreibung | In general, your tests shouldn't produce warnings. This modules 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 warings, 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
the 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.
|