wok annotate perl-test-warnings/description.txt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@24260 | 1 If you've ever tried to use Test::NoWarnings to confirm there are no warnings |
Hans-G?nter@24260 | 2 generated by your tests, combined with the convenience of done_testing to not |
Hans-G?nter@24260 | 3 have to declare a test count, you'll have discovered that these two features |
Hans-G?nter@24260 | 4 do not play well together, as the test count will be calculated before the |
Hans-G?nter@24260 | 5 warnings test is run, resulting in a TAP error. |
Hans-G?nter@24260 | 6 |
Hans-G?nter@24260 | 7 This module is intended to be used as a drop-in replacement for |
Hans-G?nter@24260 | 8 Test::NoWarnings: it also adds an extra test, but runs this test before |
Hans-G?nter@24260 | 9 done_testing calculates the test count, rather than after. |
Hans-G?nter@24260 | 10 It does this by hooking into done_testing as well as via an END block. |
Hans-G?nter@24260 | 11 You can declare a plan, or not, and things will still Just Work. |