|
NAMETest::Group::NoWarnings - turn warnings into test failuresSYNOPSISuse Test::Group; use Test::Group::NoWarnings; next_test_nowarnings(); test mytest => sub { # ... }; DESCRIPTIONThis module is an extension for Test::Group. It allows you to trap warnings generated during a test group and convert them to test failures.If you are not already familiar with Test::Group now would be a good time to go take a look. See also Test::NoWarnings, which does something similar for the test script as a whole rather than for a particular group. EXPORTSThe following function is exported by default.next_test_nowarnings ()Causes warnings to be trapped for the next test group.SEE ALSOTest::Group, Test::NoWarningsAUTHORSNick Cleaton <ncleaton@cpan.org>Dominique Quatravaux <domq@cpan.org> LICENSECopyright (c) 2009 by Nick Cleaton and Dominique QuatravauxThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.
Visit the GSP FreeBSD Man Page Interface. |