GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEST::GROUP::NOWARNINGS (3)

.ds Aq ’

NAME

Test::Group::NoWarnings - turn warnings into test failures

CONTENTS

SYNOPSIS



  use Test::Group;
  use Test::Group::NoWarnings;

  next_test_nowarnings();

  test mytest => sub {
      # ...
  };



DESCRIPTION

This 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.

EXPORTS

The following function is exported by default.

    next_test_nowarnings ()

Causes warnings to be trapped for the next test group.

SEE ALSO

Test::Group, Test::NoWarnings

AUTHORS

Nick Cleaton <ncleaton@cpan.org>

Dominique Quatravaux <domq@cpan.org>

LICENSE

Copyright (c) 2009 by Nick Cleaton and Dominique Quatravaux

This 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEST::GROUP::NOWARNINGS (3) 2016-04-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.