view release on metacpan or search on metacpan
},
"test" : {
"requires" : {
"HTTP::Request::Common" : "0",
"Moose" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.98",
"namespace::autoclean" : "0"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
"warnings" : "0"
}
},
"test" : {
"requires" : {
"Test::Fatal" : "0",
"Test::More" : "0.88",
"Test::Requires" : "0",
"Test::Spelling" : "0"
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/TestAppPluginWithConstructor.pm view on Meta::CPAN
# See t/plugin_new_method_backcompat.t
package TestAppPluginWithConstructor;
use Test::More;
use Test::Fatal;
use Catalyst qw/+TestPluginWithConstructor/;
use Moose;
extends qw/Catalyst/;
__PACKAGE__->setup;
view all matches for this distribution
view release on metacpan or search on metacpan
"Data::Printer" : "0",
"HTTP::Request::Common" : "0",
"Moose" : "2.0801",
"MooseX::MethodAttributes::Role" : "0",
"Net::Stomp::Frame" : "0",
"Test::Fatal" : "0",
"Test::Most" : "0",
"Test::Plack::Handler::Stomp" : "0",
"lib" : "0",
"ok" : "0",
"strict" : "0",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CatalystX/Test/Most.pm view on Meta::CPAN
package CatalystX::Test::Most;
use strictures;
no warnings "uninitialized";
use HTTP::Request::Common ( qw{ GET POST DELETE PUT } );
use Test::More;
use Test::Fatal;
our $AUTHORITY = "cpan:ASHLEY";
our $VERSION = "0.05";
our @EXPORT = ( qw{ GET POST DELETE PUT },
qw{ request ctx_request action_redirect },
qw{ exception },
lib/CatalystX/Test/Most.pm view on Meta::CPAN
=pod
=head1 Name
CatalystX::Test::Most - Test base pulling in L<Catalyst::Test>, L<Test::More>, L<Test::Fatal>, and L<HTTP::Request::Common> for unit tests on Catalyst applications.
=head1 Synopsis
use CatalystX::Test::Most "MyApp";
lib/CatalystX/Test/Most.pm view on Meta::CPAN
=head2 Test::More
All of its exported functions; see its documentation: L<Test::More>.
=head2 Test::Fatal
See C<exception> in L<Test::Fatal>.
=head2 Test::WWW::Mechanize::Catalyst
You have easy access to a L<Test::WWW::Mechanize::Catalyst> object. There are no related functions, just the object methods.
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Getopt::Long 0
Module::Implementation 0.06
Package::Stash::XS 0.26
Scalar::Util 0
Symbol 0
Test::Fatal 0
Test::More 0.88
Test::Requires 0
Text::ParseWords 0
base 0
constant 0
cpanfile.snapshot view on Meta::CPAN
Test::More 0.7
Test::Simple 0.7
Test-Fatal-0.013
pathname: R/RJ/RJBS/Test-Fatal-0.013.tar.gz
provides:
Test::Fatal 0.013
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 6.30
Test::Builder 0
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Module::Runtime 0
Role::Tiny 1.003003
Role::Tiny::With 0
Scalar::Util 0
Storable 0
Test::Fatal 0
Test::More 0.96
overload 0
parent 0
perl 5.008
re 0
cpanfile.snapshot view on Meta::CPAN
strict 0
warnings 0
Test-Fatal-0.014
pathname: R/RJ/RJBS/Test-Fatal-0.014.tar.gz
provides:
Test::Fatal 0.014
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 0
Test::Builder 0
view all matches for this distribution
view release on metacpan or search on metacpan
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"Path::Tiny" : "0",
"Test::Fatal" : "0",
"Test::More" : "0",
"Test::TempDir::Tiny" : "0",
"perl" : "5.006"
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"test" : {
"requires" : {
"Test::Exception" : "0",
"Test::Fatal" : "0",
"Test::More" : "0"
}
}
},
"release_status" : "stable",
view all matches for this distribution
view release on metacpan or search on metacpan
"requires" : {
"Capture::Tiny" : "0",
"Cwd::Guard" : "0",
"Directory::Scratch" : "0",
"Test::Class" : "0",
"Test::Fatal" : "0",
"Test::Mock::Guard" : "0",
"Test::More" : "0.98",
"Test::Requires" : "0"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
},
"prereqs" : {
"build" : {
"requires" : {
"ExtUtils::MakeMaker" : "6.59",
"Test::Fatal" : "0",
"Test::More" : "0.98"
}
},
"configure" : {
"requires" : {
view all matches for this distribution
view release on metacpan or search on metacpan
"test" : {
"requires" : {
"Exporter" : "0",
"Exporter::Tiny" : "0",
"Test::API" : "0",
"Test::Fatal" : "0",
"Test::Lib" : "0",
"Test::More" : "1.001005",
"Test::Needs" : "0",
"Test::Warn" : "0",
"parent" : "0"
view all matches for this distribution
view release on metacpan or search on metacpan
0.04 2012-02-08
- Some small test changes for the latest Module::Implementation and
Class::Load. There is no need to upgade if you have 0.03 installed.
0.03 2011-11-18
- Explicitly include Test::Fatal as a test prereq. Reported by W Phillip
Moore. RT #72493.
0.02 2011-10-08
- Require the latest Class::Load (0.11).
view all matches for this distribution
view release on metacpan or search on metacpan
the attempted-to-load $class. ( Kent Fredric )
- Force internal require to try-again if we are SURE the class is not
there. This produces reliable errors. ( Kent Fredric )
- Replace Test::Exception with Test::Fatal ( Kent Fredric )
0.05 2009-09-02
- Cargo-cult Class::MOP's is_class_loaded so we work on 5.10
view all matches for this distribution
view release on metacpan or search on metacpan
2.15 2023-03-05 23:42:48Z
- localize $SIG{__DIE__} before calling eval (closes RT#146848; Yves
Orton)
2.14 2023-01-16 21:26:04Z
- remove Test::Fatal and Test::Needs from test prereqs (PRs #7, #8,
Graham Knop)
2.13 2019-08-10 00:18:50Z
- bypass prototypes when testing for lvalue attribute
- fixed a class name in tests to avoid conflicting with a core module
1.08 2011-10-16
- Document install_modifier (requested by Tokuhiro Matsuno)
1.07 2011-02-23
- Move from Test::Exception to Test::Fatal (Justin Hunter)
1.06 2010-11-26
- Add support for: modifier ["name1", "name2"] => sub {}
1.05 2009-10-21 14:01:11
view all matches for this distribution
view release on metacpan or search on metacpan
"File::Find" : "0",
"File::Spec" : "0",
"File::Temp" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.88",
"Test::Requires" : "0",
"lib" : "0"
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
"Class::Method::Modifiers" : "1.05",
"Role::Tiny" : "1.000000",
"Types::Standard" : "0"
},
"requires" : {
"Test::Fatal" : "0.003",
"Test::More" : "0.96",
"Test::Requires" : "0.06"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
t/MY/Kit.pm view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use Test::More ();
use Test::Exception ();
use Test::Fatal ();
use Import::Into;
sub import {
my $target = caller;
$_->import::into($target) foreach
qw(strict warnings Test::More Test::Exception Test::Fatal);
} #import()
1;
view all matches for this distribution
view release on metacpan or search on metacpan
"test" : {
"recommends" : {
"Types::Standard" : "1.000000"
},
"requires" : {
"Test::Fatal" : "0",
"Test::More" : "0.96",
"Test::Requires" : "0",
"parent" : "0"
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Test::CheckDeps" : "0.010",
"Test::Fatal" : "0",
"Test::More" : "0.98",
"Test::Refcount" : "0.07"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Code/Style/Kit/Parts/Test.pm view on Meta::CPAN
require Test::More;
Test::More->import::into($caller);
require Test::Deep;
Test::Deep->import::into($caller);
require Test::Fatal;
Test::Fatal->import::into($caller);
require Test::Warnings;
Test::Warnings->import::into($caller);
require lib;
lib->import::into($caller, 't/lib');
require Log::Any::Adapter;
lib/Code/Style/Kit/Parts/Test.pm view on Meta::CPAN
# write your test
=head1 DESCRIPTION
This part defines the C<test> feature, which imports L<< C<Test::More>
>>, L<< C<Test::Deep> >>, L<< C<Test::Fatal> >>, L<< C<Test::Warnings>
>>, adds F<t/lib> to C<@INC>, and sets up L<<
C<Log::Any::Adapter::TAP> >>.
=head1 AUTHOR
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/TestFor/Code/TidyAll/Basic.pm view on Meta::CPAN
use FindBin qw( $Bin );
use IPC::Run3 qw( run3 );
use Path::Tiny qw(path);
use Test::Class::Most parent => 'TestHelper::Test::Class';
use Test::Fatal;
use Test::Warnings;
sub test_plugin {"+TestHelper::Plugin::$_[0]"}
my %UpperText
= ( test_plugin('UpperText') => { select => '**/*.txt', ignore => 'plugin_ignore/*' } );
view all matches for this distribution
view release on metacpan or search on metacpan
'Config' => 0,
'Module::Build' => 0,
},
build_requires => {
'Test::More' => 0,
'Test::Fatal' => 0,
},
requires => {
'Compress::Zlib' => 0,
'IO::Uncompress::RawInflate' => 0,
'IO::Compress::RawDeflate' => 0,
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Test/Fatal.pm view on Meta::CPAN
#line 1
use strict;
use warnings;
package Test::Fatal;
{
$Test::Fatal::VERSION = '0.18';
}
# ABSTRACT: incredibly simple helpers for testing code with exceptions
use Carp ();
inc/Test/Fatal.pm view on Meta::CPAN
return undef;
} catch {
return $_ if $_;
my $problem = defined $_ ? 'false' : 'undef';
Carp::confess("$problem exception caught by Test::Fatal::exception");
};
}
sub success (&;@) {
view all matches for this distribution
view release on metacpan or search on metacpan
- Fixed Makefile.PL.
0.23 2026/05/09
- Tests: Switched from Test::Fatal to Test::Exception to avoid problems with perl 5.10.
- Improved POD section.
- Added CONTRIBUTING.md and SECURITY.md.
- Completed Makefile.PL to resolve CPANTS experimental issues.
0.22 2026/05/09
view all matches for this distribution
view release on metacpan or search on metacpan
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"File::Temp" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.96",
"perl" : "5.006"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
"CPAN::Meta" : "2.120900"
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.96",
"lib" : "0"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
#!/usr/bin/env perl
use Test2::Bundle::Extended;
use Test::Fatal;
use Config::MethodProxy qw( :all );
{
package My::Test::Config;
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"test" : {
"requires" : {
"Test::Deep" : "0",
"Test::Fatal" : "0",
"Test::More" : "0",
"Test::Simple" : "0.96"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
},
"test" : {
"requires" : {
"File::Temp" : "0",
"FindBin" : "0",
"Test::Fatal" : "0",
"Test::More" : "0",
"base" : "0"
}
}
},
view all matches for this distribution