Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Test-Exception

Library of test functions for exception based Perl code

This module provides a few convenience methods for testing exception based code. It is built with Test::Builder and plays happily with Test::More and friends.
Homepage:
Package version:0.27
Architecture:noarch
Distribution:CentOS
Filename:perl-Test-Exception-0.27-4.1.el6.noarch.rpm

/usr/share/doc/perl-Test-Exception-0.27/README

NAME
    Test::Exception - Test exception based code

SYNOPSIS
      use Test::More tests => 5;
      use Test::Exception;

      # or if you don't need Test::More

      use Test::Exception tests => 5;

      # then...

      # Check that the stringified exception matches given regex
      throws_ok { $foo->method } qr/division by zero/, 'zero caught okay';

      # Check an exception of the give
more»

/usr/share/man/man3/Test::Exception.3pm.gz

Test::Exception(3User Contributed Perl DocumentatiTest::Exception(3)



NAME
       Test::Exception - Test exception based code

SYNOPSIS
         use Test::More tests => 5;
         use Test::Exception;

         # or if you don't need Test::More

         use Test::Exception tests => 5;

         # then...

         # Check that the stringified exception matches given regex
         throws_ok { 
more»

/usr/share/doc/perl-Test-Exception-0.27/Changes

Revision history for Perl extension Test::Exception:

0.27
    -   Patch to fix my broken code with the now working Sub::Uplevel. Many
        thanks to David Golden

0.26
    -   Added some more exposition on the usage of dies_ok() and lives_ok() for 
        those who found them confusing. Also reordered presentation of docs so
        more specific throws_ok() comes first.
    -   Some misc. do
more»

Browse inside perl-Test-Exception-0.27-4.1.el6.noarch.rpm

849 B2014-11-27HEADER  view  604+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download perl-Test-Exception-0.27-4.1.el6.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com