wok annotate perl-test-nowarnings/description.txt @ rev 24521

updated ettercap (0.8.3 -> 0.8.3.1)
author Hans-G?nter Theisgen
date Tue Feb 22 15:47:04 2022 +0100 (2022-02-22)
parents
children
rev   line source
Hans-G?nter@24257 1 In general, your tests shouldn't produce warnings.
Hans-G?nter@24257 2 This modules causes any warnings to be captured and stored.
Hans-G?nter@24257 3 It automatically adds an extra test that will run when your script ends
Hans-G?nter@24257 4 to check that there were no warnings.
Hans-G?nter@24257 5 If there were any warnings, the test will give a "not ok" and diagnostics
Hans-G?nter@24257 6 of where, when and what the warning was, including a stack trace of what
Hans-G?nter@24257 7 was going on when the it occurred.
Hans-G?nter@24257 8
Hans-G?nter@24257 9 If some of your tests are supposed to produce warnings then you should be
Hans-G?nter@24257 10 capturing and checking them with Test::Warn, that way Test::NoWarnings
Hans-G?nter@24257 11 will not see them and so not complain.
Hans-G?nter@24257 12
Hans-G?nter@24257 13 The test is run by an END block in Test::NoWarnings.
Hans-G?nter@24257 14 It will not be run when any forked children exit.