view release on metacpan or search on metacpan
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Test::DescribeMe
Test::Detect
Test::Device
Test::DiagINC
Test::DiagRef
Test::Differences
Test::Difflet
Test::Dir
Test::Directory
Test::DirectoryLayout
Test::Dirs
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Test::Harness
Test::HasVersion
Test::HashRef
Test::Health
Test::Helper
Test::HexDifferences
Test::HexString
Test::Httpd
Test::IOC
Test::ISBN
Test::Identity
view all matches for this distribution
view release on metacpan or search on metacpan
"Dist::Zilla::Role::Plugin" : "0",
"Dist::Zilla::Util::ConfigDumper" : "0",
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"Test::DZil" : "0",
"Test::Differences" : "0",
"Test::More" : "0",
"perl" : "5.010"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
},
"requires" : {
"Dist::Zilla::PluginBundle::Classic" : "0",
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"Test::Differences" : "0",
"Test::More" : "0",
"perl" : "5.006"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/Util/Test/KENTNL/dztest.pm view on Meta::CPAN
use Dist::Zilla::Util;
use Dist::Zilla::App::Tester qw( test_dzil );
use Module::Runtime qw();
## no critic (ValuesAndExpressions::ProhibitConstantPragma,ErrorHandling::RequireCheckingReturnValueOfEval,Subroutines::ProhibitSubroutinePrototypes)
use recommended 'Test::Differences', 'Test::TempDir::Tiny';
use Data::DPath qw( dpath );
## use critic
lib/Dist/Zilla/Util/Test/KENTNL/dztest.pm view on Meta::CPAN
my ( $self, $prereqs ) = @_;
my $meta = $self->distmeta;
$self->tb->ok( defined $meta, 'distmeta defined' );
$self->tb->note( $self->tb->explain( $meta->{prereqs} ) );
if ( recommended->has('Test::Differences') ) {
Test::Differences::eq_or_diff( $meta->{prereqs}, $prereqs, 'Prereqs match expected set' );
}
else {
## no critic (Subroutines::ProhibitCallsToUnexportedSubs)
Test::More::is_deeply( $meta->{prereqs}, $prereqs, 'Prereqs match expected set' );
}
lib/Dist/Zilla/Util/Test/KENTNL/dztest.pm view on Meta::CPAN
$expected = [$expected];
}
my (@results) = dpath($expression)->match( $self->builder->distmeta );
$self->tb->ok( @results > 0, "distmeta matched expression $expression" );
$self->tb->note( $self->tb->explain( \@results ) );
if ( recommended->has('Test::Differences') ) {
Test::Differences::eq_or_diff( \@results, $expected, 'distmeta matched expectations' );
}
else {
## no critic (Subroutines::ProhibitCallsToUnexportedSubs)
Test::More::is_deeply( \@results, $expected, 'distmeta matched expectations' );
}
view all matches for this distribution
view release on metacpan or search on metacpan
author:
- 'Gabor Szabo <szabgab@dwimmer.org>'
build_requires:
ExtUtils::MakeMaker: 6.59
Test::Deep: 0
Test::Differences: 0
Test::More: 0
Test::WWW::Mechanize: 0
configure_requires:
ExtUtils::MakeMaker: 6.59
File::Copy::Recursive: 0
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ETL/Yertl.pm view on Meta::CPAN
'Path::Tiny' => [qw( path )],
);
our %IMPORT_BUNDLES = (
Test => [
qw( Test::More Test::Deep Test::Exception Test::Differences ),
FindBin => [ '$Bin' ],
boolean => [':all'],
'Path::Tiny' => [qw( path cwd tempfile tempdir )],
'Dir::Self' => [qw( __DIR__ )],
'ETL::Yertl::Util' => [qw( docs_from_string )],
view all matches for this distribution
view release on metacpan or search on metacpan
build_requires => {
'Test::More' => 0,
'FindBin' => 0,
'lib' => 0,
'Test::Trap' => 0,
'Test::Differences' => 0,
},
requires => {
'PPI' => 0,
'strict' => 0,
'warnings' => 0,
view all matches for this distribution
view release on metacpan or search on metacpan
'Fatal' => 0,
'Cwd' => 0,
'FindBin' => 0,
'lib' => 0,
'Date::Calc' => 0,
'Test::Differences' => 0,
},
requires => {
'strict' => 0,
'warnings' => 0,
'Carp' => 0,
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Emacs/Run/Testorama.pm view on Meta::CPAN
my ($result, $expected) = slurp_files($result_file, $expected_file);
eq_or_diff( $result, $expected,
"$test_name: checking effects of upcase-region on $result_file");
# Note: presumes Test::Differences is in use.
=cut
sub slurp_files {
view all matches for this distribution
view release on metacpan or search on metacpan
- strip trailing whitespace & all newlines from output
- additional pod fixes
0.09 22/01/2015
- add attachments method
- add missing test requirement for Test::Differences
- set mime part content disposition as attachment, and allow option to specify
- more pod
0.08 20/01/2015
- fix handling base64 added assets
view all matches for this distribution
view release on metacpan or search on metacpan
0.34 2011-05-16
Tiny fix.
0.33 2011-05-16
Fix for odd Solaris failure. TNX Nigel Horne
0.32 2011-05-16
Removed Test::Differences because it caused spurious test failures.
0.31 2011-05-15
Fixed final broken test: error message varies by platform.
0.30 2011-05-15
Changed lockfile code and fixed broken tests.
0.29 2010-10-27
0.25 2008-02-23
Uncovered dependency on perl version: at least 5.006.
0.24 2008-02-22
Changed dump() to use GMT, and added example script.
0.23 2008-02-21
Changed cache test to use Test::Differences. TNX Michael Schwern.
0.22 2008-02-20
Removed rudeness from Makefile.PL and fixed up prereqs for cpantesters.
0.21 2008-02-17
Fixed parse errors in META.yml.
0.20 2008-02-15
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"test" : {
"requires" : {
"DateTime" : "0",
"Test::Differences" : "0",
"Test::Fatal" : "0",
"Test::More" : "0.98"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Test/Most.pm view on Meta::CPAN
sub import {
my $bail_set = 0;
my %modules_to_load = map { $_ => 1 } qw/
Test::Differences
Test::Exception
Test::Deep
Test::Warn
/;
warnings->import;
view all matches for this distribution
view release on metacpan or search on metacpan
},
"test" : {
"requires" : {
"HTTP::Request" : "0",
"JSON::XS" : "0",
"Test::Differences" : "0",
"Test::More" : "0.98"
}
}
},
"provides" : {
view all matches for this distribution
view release on metacpan or search on metacpan
Re-creates Excel (.xlsx) files from a template. Excel
content can be appended using Excel::Writer::XLSX. ],
build_requires => {
'Test::More' => 0,
'Test::Differences' => 0,
'Test::CheckManifest' => 1.29,
'Template::Tiny' => 0,
},
configure_requires => {
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/TestFunctions.pm view on Meta::CPAN
}
###############################################################################
#
# Use Test::Differences::eq_or_diff() where available or else fall back to
# using Test::More::is_deeply().
#
sub _is_deep_diff {
my ( $got, $expected, $caption, ) = @_;
eval {
require Test::Differences;
Test::Differences->import();
};
if ( !$@ ) {
eq_or_diff( $got, $expected, $caption, { context => 1 } );
}
view all matches for this distribution
view release on metacpan or search on metacpan
inc/archaic/Test/Builder.pm view on Meta::CPAN
=head1 EXAMPLES
CPAN can provide the best examples. Test::Simple, Test::More,
Test::Exception and Test::Differences all use Test::Builder.
=head1 SEE ALSO
Test::Simple, Test::More, Test::Harness
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"test" : {
"requires" : {
"File::Temp" : "0.2304",
"Test::Differences" : "0.64",
"Test::Exception" : "0.43",
"Test::More" : "1.001014"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
0.005 2013-04-12 17:20:46 Europe/London
Deprecate this module, along with .modulebuildrc in general
0.004 2013-04-05 23:09:43 Europe/Amsterdam
Drop Test::Differences dependency
0.003 2011-05-07 11:07:02 Europe/Amsterdam
Demand ExtUtils::Helpers 0.006
0.002 2011-03-28 15:12:13 Europe/Amsterdam
view all matches for this distribution
view release on metacpan or search on metacpan
[Git::Commit]
[Git::Tag]
[Git::Push]
[RemovePrereqs]
remove = Test::Differences
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Test/Builder.pm view on Meta::CPAN
=head1 EXAMPLES
CPAN can provide the best examples. Test::Simple, Test::More,
Test::Exception and Test::Differences all use Test::Builder.
=head1 SEE ALSO
Test::Simple, Test::More, Test::Harness
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/XSP/Test.pm view on Meta::CPAN
use strict;
use warnings;
use if -d 'blib' => 'blib';
use Test::Base -Base;
use Test::Differences;
use ExtUtils::XSpp::Typemap;
our @EXPORT = qw(run_diff);
# allows running tests both from t and from the top directory
view all matches for this distribution
view release on metacpan or search on metacpan
abstract: 'Find corresponding files in the directory tree'
author:
- 'Johan Lindstrom <johanl@cpan.org>'
build_requires:
File::chdir: 0
Test::Differences: 0
Test::Exception: 0
Test::More: 0
warnings: 0
configure_requires:
ExtUtils::MakeMaker: 0
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Test/File/Find/CaseCollide.pm view on Meta::CPAN
package Test::File::Find::CaseCollide;
$Test::File::Find::CaseCollide::VERSION = '0.2.0';
use strict;
use warnings;
use Test::Differences (qw( eq_or_diff ));
use File::Find::CaseCollide ();
sub verify
{
local $Test::Builder::Level = $Test::Builder::Level + 1;
view all matches for this distribution
view release on metacpan or search on metacpan
t/findvirtual.t view on Meta::CPAN
use File::Find::Rule;
use File::Find::Rule::Filesys::Virtual;
use Filesys::Virtual::Plain;
use Cwd;
if (eval { require Test::Differences; 1 }) {
no warnings 'redefine';
*is_deeply = \&Test::Differences::eq_or_diff;
}
my $virtual = Filesys::Virtual::Plain->new({
root_path => getcwd,
cwd => '/',
view all matches for this distribution
view release on metacpan or search on metacpan
Rework the referencing of anyonymous subroutines internally,
closes RT#46599 (Reported by Kevin Ryde)
0.31 Friday 27th November 2009
Move to Makefile.PL
use Test::Differences in the testsuite if available.
Rearrange the testsuite so you don't keep tripping over yourself.
Dropped 5.00503 backwards compatibility, allows some 5.6isms and
dropping the shonky Cwd code.
All taint 'bugs' are now the same as the behaviour of File::Find,
documentation has been added to describe this.
view all matches for this distribution
view release on metacpan or search on metacpan
},
"requires" : {
"File::Spec" : "0",
"Module::Metadata" : "0",
"Path::Tiny" : "0.101",
"Test::Differences" : "0",
"Test::More" : "0",
"Test::Most" : "0",
"strict" : "0",
"warnings" : "0"
}
view all matches for this distribution
view release on metacpan or search on metacpan
BEGIN {
use_ok( 'File::Next::OO' );
}
# use Test::Differences;
# eq_or_diff \@got, [qw( a b c )], "testing arrays";
JUST_A_FILE: {
my $iter = File::Next::OO->new( 't/pod.t' );
isa_ok( $iter, 'CODE' );
view all matches for this distribution
view release on metacpan or search on metacpan
$path = File::Next::reslash( $path );
}
local $Test::Builder::Level = $Test::Builder::Level + 1; ## no critic
eval 'use Test::Differences';
if ( !$@ ) {
return eq_or_diff( [sort @actual], [sort @expected], $msg );
}
else {
return is_deeply( [sort @actual], [sort @expected], $msg );
view all matches for this distribution
view release on metacpan or search on metacpan
t/01spew_slurp.t view on Meta::CPAN
#!perl -w
use strict;
use Test::More tests => 10;
use File::Path qw( rmtree );
if (eval { require Test::Differences; 1 }) {
no warnings 'redefine';
*is_deeply = \&Test::Differences::eq_or_diff;
}
my $path = 't/sample';
my $tree = {
view all matches for this distribution