f25232ee0b
devel/p5-Test-FailWarnings. 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.
6 lines
336 B
Text
6 lines
336 B
Text
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.
|