wok-6.x view perl-test-nowarnings/description.txt @ rev 24634
updated gtkspell3 and gtkspell3-dev (3.0.8 -> 3.0.10)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 17:40:10 2022 +0100 (2022-03-08) |
parents | |
children |
line source
1 In general, your tests shouldn't produce warnings.
2 This modules causes any warnings to be captured and stored.
3 It automatically adds an extra test that will run when your script ends
4 to check that there were no warnings.
5 If there were any warnings, the test will give a "not ok" and diagnostics
6 of where, when and what the warning was, including a stack trace of what
7 was going on when the it occurred.
9 If some of your tests are supposed to produce warnings then you should be
10 capturing and checking them with Test::Warn, that way Test::NoWarnings
11 will not see them and so not complain.
13 The test is run by an END block in Test::NoWarnings.
14 It will not be run when any forked children exit.