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
view release on metacpan or search on metacpan
"perl" : "5.010000"
}
},
"test" : {
"requires" : {
"Test::Differences" : "0.60",
"Test::Most" : "0.30"
}
}
},
"release_status" : "stable",
view all matches for this distribution
view release on metacpan or search on metacpan
t/vs_plain.t view on Meta::CPAN
use Filesys::Virtual::SSH;
use File::Slurp::Tree;
use Cwd;
use Sys::Hostname;
if (eval { require Test::Differences; 1 }) {
no warnings 'redefine';
*is_deeply = \&Test::Differences::eq_or_diff;
}
# A comparitive test against Filesys::Virtual::Plain, more so I
# understand the api as Filesys::Virtual is low on docs
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
test => { TESTS => join( " ", @tests ) },
};
# modules only for testing
if ($enable_livetest) {
$params->{'PREREQ_PM'}{'Test::Differences'} = "";
$params->{'PREREQ_PM'}{'DateTime'} = "0.31";
}
if (MM->can('signature_target')) {
view all matches for this distribution
view release on metacpan or search on metacpan
t/10-example.t view on Meta::CPAN
use Test::More 0.88; # done_testing
plan tests => 5;
# Load Test::Differences, if available:
BEGIN {
if (eval "use Test::Differences; 1") {
# Not all versions of Test::Differences support changing the style:
eval { Test::Differences::unified_diff() }
} else {
eval '*eq_or_diff = \&is;'; # Just use "is" instead
}
} # end BEGIN
view all matches for this distribution
view release on metacpan or search on metacpan
t/032_Tree_Writer_complex_ASCII.t view on Meta::CPAN
isa_ok($w, 'Forest::Tree::Writer::ASCIIWithBranches');
isa_ok($w->tree, 'Forest::Tree');
# FOR DEBUGGIN
#use Test::Differences;
#eq_or_diff($w->as_string,
is($w->as_string,
q{root
|---1.0
t/032_Tree_Writer_complex_ASCII.t view on Meta::CPAN
tree => Forest::Tree->new(children => [ $tree ])
);
isa_ok($w, 'Forest::Tree::Writer::ASCIIWithBranches');
# FOR DEBUGGIN
#use Test::Differences;
#eq_or_diff($w->as_string,
is($w->as_string,
q{root
|---1.0
view all matches for this distribution
view release on metacpan or search on metacpan
'JavaScript::Standalone' => 0,
},
build_requires => {
'Test::More' => 0,
'Test::Exception' => 0,
'Test::Differences' => 0,
'Test::XML' => 0,
},
script_files => [qw(
bin/froody
bin/froodydoc
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Frost.pm view on Meta::CPAN
DateTime::Format::MySQL
List::Util
List::MoreUtils
Test::Deep
Test::Differences
Test::Exception
Test::More
Test::Requires
Optional modules to run some tests:
view all matches for this distribution
view release on metacpan or search on metacpan
dist_version_from => 'lib/Games/ABC_Path/Generator.pm',
configure_requires => {
'Module::Build' => '0.36',
},
build_requires => {
'Test::Differences' => 0,
'Test::More' => 0,
},
requires => {
'Carp' => 0,
'Class::XSAccessor' => 0,
view all matches for this distribution
view release on metacpan or search on metacpan
dist_author => 'Shlomi Fish <shlomif@cpan.org>',
configure_requires => {
'Module::Build' => '0.36',
},
build_requires => {
'Test::Differences' => 0,
'Test::More' => 0,
},
requires => {
'base' => 0,
'Carp' => 0,
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
Inline => 0.44,
Carp => 0,
Data::Dumper => 0,
Test::More => 0,
Test::Differences => 0.45,
Test::Exception => 0.12,
Test::Warn => 0.05,
Set::Scalar => 0,
}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Games/Solitaire/BlackHole/Test.pm view on Meta::CPAN
use warnings;
use Test::More;
use Dir::Manifest::Slurp qw/ as_lf /;
use Test::Differences qw/ eq_or_diff /;
our @ISA = qw(Exporter);
our %EXPORT_TAGS = ( 'all' => [qw( _test_multiple_verdict_lines )] );
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
require Exporter;
view all matches for this distribution
view release on metacpan or search on metacpan
"test_requires" => {
"Dir::Manifest" => 0,
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Test::Differences" => 0,
"Test::More" => "0.88",
"vars" => 0
}
);
"Dir::Manifest" => 0,
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Module::Build" => "0.28",
"Test::Differences" => 0,
"Test::More" => "0.88",
"vars" => 0
);
view all matches for this distribution
view release on metacpan or search on metacpan
ExtUtils::MakeMaker: 6.36
File::Slurp: 0
File::Temp: 0
Gearman::Server: 1.10
Net::Telnet: 0
Test::Differences: 0
Test::Exception: 0
Test::More: 0
YAML: 0
configure_requires:
ExtUtils::MakeMaker: 6.36
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/distmap.json view on Meta::CPAN
"0.109.0",
"0.110.0"
]
}
],
"Test-Differences" : [
{
"category" : "dev-perl",
"package" : "Test-Differences",
"repository" : "gentoo",
"versions_gentoo" : [
"0.500.0",
"0.610.0"
]
view all matches for this distribution
view release on metacpan or search on metacpan
t/autozoom.t view on Meta::CPAN
use strict;
use warnings;
use Test::More tests => 42;
use Geo::Google::MapObject;
use Test::Differences;
use Test::Deep;
use JSON;
use HTML::Template::Pluggable;
use HTML::Template::Plugin::Dot;
our $template =<<EOS;
view all matches for this distribution
view release on metacpan or search on metacpan
"name" : "Getopt-Long-DescriptivePod",
"prereqs" : {
"build" : {
"requires" : {
"Getopt::Long::Descriptive" : "0",
"Test::Differences" : "0",
"Test::Exception" : "0",
"Test::More" : "0",
"Test::NoWarnings" : "0"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Test.pm view on Meta::CPAN
use strict;
use warnings;
use parent 'Test::Builder::Module';
use Test::More;
use Test::Differences;
use Test::Exception;
use Test::Warn;
use t::lib::DummyTiedScalar;
use t::lib::DummyTiedArray;
t/lib/Test.pm view on Meta::CPAN
use Google::ProtocolBuffers::Dynamic;
use Config;
our @EXPORT = (
@Test::More::EXPORT,
@Test::Differences::EXPORT,
@Test::Exception::EXPORT,
@Test::Warn::EXPORT,
qw(
maybe_bigint
tie_scalar
view all matches for this distribution
view release on metacpan or search on metacpan
* syntax.pl: support custom template name
* simplifiy and generalize t/simple.t
* always run test files under -w
* don't use warnings (for older perls)
* remove needless routines in subclasses of "Node"
* use Test::Differences if t/ascii.t fails
2005-01-31 v0.11 Tels 294 tests - Close, close, close, close the ugly holes...
* Parser: add parsing of groups like in "( Groupname [ Node ] )"
* Parser: fix for "[1] -> [2] -> [3] { ... }" to not lose attributes on 3
* Parser: can now handle "[1], [2], [3] -> [4]" correctly
view all matches for this distribution
view release on metacpan or search on metacpan
abstract: Create graphical flowchart from an regular expression
author: Tels <nospam-abuse@bloodgate.com>
build_requires:
Test::Differences: 0.47
Test::More: 0.42
distribution_type: module
generated_by: Module::Install version 0.64
license: gpl
name: Graph-Regexp
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/TestUtils.pm view on Meta::CPAN
use warnings;
use Grep::Query qw(qgrep);
use Test::More;
use Test::Differences;
use TestInfo;
sub runAsNonFieldedTests
{
view all matches for this distribution
view release on metacpan or search on metacpan
"runtime" : {
"requires" : {
"Exporter" : "0",
"JSON::XS" : "0",
"Path::Extended" : "0",
"Test::Differences" : "0",
"Test::More" : "0.88",
"Test::UseAllModules" : "0.10",
"version" : "0.77"
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Pod::Text 0
Pod::Usage 1.36
Term::ANSIColor 0
Term::ReadKey 0
Test::Class 0.36
Test::Differences 0.5
Test::More 0
Text::Wrap 0
Try::Tiny 0.09
MooseX-Role-Parameterized-1.08
pathname: E/ET/ETHER/MooseX-Role-Parameterized-1.08.tar.gz
cpanfile.snapshot view on Meta::CPAN
Try::Tiny 0
constant 0
perl 5.008001
strict 0
warnings 0
Test-Differences-0.64
pathname: D/DC/DCANTRELL/Test-Differences-0.64.tar.gz
provides:
Test::Differences 0.64
requirements:
Capture::Tiny 0.24
Data::Dumper 2.126
Test::More 0.88
Text::Diff 0.35
view all matches for this distribution
view release on metacpan or search on metacpan
dist_author => 'Nicholas Bamber <nicholas@periapt.co.uk>',
dist_version_from => 'lib/HTML/Acid.pm',
build_requires => {
'Test::More' => '0.94',
'Perl6::Slurp' => 0,
'Test::Differences'=>0,
'Benchmark'=>0,
'Test::NoWarnings'=>0,
},
requires => {
'version' => 0,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Differences.pm view on Meta::CPAN
There are a couple other modules out there that do HTML diffs, so why write
this one?
The L<HTML::Diff> module uses regexes to parse HTML. This is crazy.
The L<Test::HTML::Differences> module attempts to fix up the HTML a little too
much for my purposes. It ends up ignoring missing end tags or breaking on them
in various ways.
=head1 AUTHOR
view all matches for this distribution