Acme-Sort-Sleep
view release on metacpan or search on metacpan
local/lib/perl5/IO/Async/LoopTests.pm view on Meta::CPAN
use strict;
use warnings;
use Exporter 'import';
our @EXPORT = qw(
run_tests
);
use Test::More;
use Test::Fatal;
use Test::Refcount;
use IO::Async::Test qw();
use IO::Async::OS;
use IO::File;
use Fcntl qw( SEEK_SET );
use POSIX qw( SIGTERM );
use Socket qw( sockaddr_family AF_UNIX );
local/lib/perl5/Test/Exception.pm view on Meta::CPAN
You can specify the test plan when you C<use Test::Exception> in the same way as C<use Test::More>.
See L<Test::More> for details.
NOTE: Test::Exception only checks for exceptions. It will ignore other methods of stopping
program execution - including exit(). If you have an exit() in evalled code Test::Exception
will not catch this with any of its testing functions.
NOTE: This module uses L<Sub::Uplevel> and relies on overriding
C<CORE::GLOBAL::caller> to hide your test blocks from the call stack. If this
use of global overrides concerns you, the L<Test::Fatal> module offers a more
minimalist alternative.
=cut
sub _quiet_caller (;$) { ## no critic Prototypes
my $height = $_[0];
$height++;
if ( CORE::caller() eq 'DB' ) {
# passthrough the @DB::args trick
local/lib/perl5/Test/Exception.pm view on Meta::CPAN
=head1 SEE ALSO
=over 4
=item L<http://del.icio.us/tag/Test::Exception>
Delicious links on Test::Exception.
=item L<Test::Fatal>
A slightly different interface to testing exceptions, without overriding C<CORE::caller>.
=item L<Test::Warnings> & L<Test::Warn> & L<Test::NoWarnings>
Modules to help test warnings.
=item L<Test::Builder>
Support module for building test libraries.
( run in 4.455 seconds using v1.01-cache-2.11-cpan-54e63673c56 )