freebsd-ports/devel/p5-Test2-Plugin-NoWarnings/pkg-descr
Wen Heping 04a02aef99 Loading this plugin causes your tests to fail if there any
warnings while they run. Each warning generates a new failing
test and the warning content is outputted via diag.

This module uses $SIG{__WARN__}, so if the code you're testing
sets this, then this module will stop working.

WWW: http://search.cpan.org/dist/Test2-Plugin-NoWarnings/
2016-09-27 06:47:11 +00:00

8 lines
343 B
Text

Loading this plugin causes your tests to fail if there any
warnings while they run. Each warning generates a new failing
test and the warning content is outputted via diag.
This module uses $SIG{__WARN__}, so if the code you're testing
sets this, then this module will stop working.
WWW: http://search.cpan.org/dist/Test2-Plugin-NoWarnings/