wok annotate perl-test-warnings/description.txt @ rev 25004

updated ntfs-3g and ntfs-3g-dev (2017.3.23 -> 2021.8.22)
author Hans-G?nter Theisgen
date Mon May 16 16:20:40 2022 +0100 (2022-05-16)
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.