diff options
Diffstat (limited to 'devel/p5-Test-FailWarnings/DESCR')
-rw-r--r-- | devel/p5-Test-FailWarnings/DESCR | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/p5-Test-FailWarnings/DESCR b/devel/p5-Test-FailWarnings/DESCR new file mode 100644 index 00000000000..b657c8cd338 --- /dev/null +++ b/devel/p5-Test-FailWarnings/DESCR @@ -0,0 +1,6 @@ +This module hooks $SIG{__WARN__} and converts warnings to Test::More's +fail() calls. It is designed to be used with done_testing, when you don't +need to know the test count in advance. + +Just as with Test::NoWarnings, this does not catch warnings if other things +localize $SIG{__WARN__}, as this is designed to catch unhandled warnings. |