view release on metacpan or search on metacpan
'Moose::Util::TypeConstraints' => 0,
'MooseX::StrictConstructor' => 0,
'namespace::autoclean' => 0,
},
build_requires => {
'Test::Differences' => '0.60',
'Test::Exception' => 0,
'Test::More' => 0, # dist Test-Simple
'Test::NoWarnings' => '1.03',
},
recommends => {
view all matches for this distribution
view release on metacpan or search on metacpan
- Build.PL no longer in distribution
0.02 Tue Mar 13 18:59:50 2012
- POD typos corrected
- control chars in strings are not allowed
- use Test::Hex::Differences for tests
0.01 Wed Apr 27 12:37:44 2011
- first version
view all matches for this distribution
view release on metacpan or search on metacpan
2.013 Fri Nov 3 11:50:47 2017
- more flexible Extract Process
2.012 Fri Sep 29 22:22:40 2017
- Test::Differences has problems with different Data::Dumper's output of Perl
and XS Version. Adding local Data::Dumper::Useperl = 1; to some tests.
2.011 Sat Sep 2 11:18:09 2017
- added YAML extractor
view all matches for this distribution
view release on metacpan or search on metacpan
Revision history for Perl extension Locale::TextDomain:OO::Util.
4.002 Fri Mar 15 22:39:33 2019
- added $Test::Differences::NoDeparse = 1;
to have equal behaviour
https://rt.cpan.org/Ticket/Display.html?id=128843
4.001 Mon Jun 4 16:54:05 2018
- removed module Safe (parse formula and break in case of wrong)
view all matches for this distribution
view release on metacpan or search on metacpan
Revision history for Perl extension Locale::TextDomain::OO.
1.036 Fri Mar 15 16:24:27 2019
- added $Test::Differences::NoDeparse = 1;
to have equal behaviour
https://rt.cpan.org/Public/Bug/Display.html?id=128841
1.035 Fri Dec 21 13:12:05 2018
- updated dependency to Locale::MO::File
view all matches for this distribution
view release on metacpan or search on metacpan
"name" : "Locale-Utils-Autotranslator",
"prereqs" : {
"build" : {
"requires" : {
"Path::Tiny" : "0",
"Test::Differences" : "0.60",
"Test::Exception" : "0",
"Test::More" : "0",
"Test::NoWarnings" : "0"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
},
"name" : "Locale-Utils-PlaceholderBabelFish",
"prereqs" : {
"build" : {
"requires" : {
"Test::Differences" : "0.60",
"Test::Exception" : "0",
"Test::More" : "0",
"Test::NoWarnings" : "0"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
},
"name" : "Locale-Utils-PlaceholderMaketext",
"prereqs" : {
"build" : {
"requires" : {
"Test::Differences" : "0.60",
"Test::Exception" : "0",
"Test::More" : "0",
"Test::NoWarnings" : "0"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
},
"name" : "Locale-Utils-PlaceholderNamed",
"prereqs" : {
"build" : {
"requires" : {
"Test::Differences" : "0.60",
"Test::Exception" : "0",
"Test::More" : "0",
"Test::NoWarnings" : "0"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
'MooseX::StrictConstructor' => 0,
'namespace::autoclean' => 0,
Safe => 0, # dist Perl
},
build_requires => {
'Test::Differences' => 0,
'Test::Exception' => 0,
'Test::More' => 0, # dist Test-Simple
'Test::NoWarnings' => 0,
},
recommends => {
view all matches for this distribution
view release on metacpan or search on metacpan
"File::Spec" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Log::Any::Adapter" : "0",
"Log::Any::Test" : "0",
"Test::Differences" : "0",
"Test::Exception" : "0",
"Test::More" : "0",
"Test::NoWarnings" : "0",
"Test::Warn" : "0",
"perl" : "5.008",
view all matches for this distribution
view release on metacpan or search on metacpan
"Sub::Util" : "0"
},
"requires" : {
"Log::Contextual" : "0",
"Term::ANSIColor" : "2.01",
"Test::Differences" : "0",
"Test::More" : "0.89",
"Test::Needs" : "0.002000"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
#!/usr/bin/env perl
use warnings;
use strict;
use Loop::Control;
use Test::More tests => 1;
use Test::Differences;
my $output = '';
sub record { $output .= join '' => @_ }
sub doit {
my ($level, $iterations) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
5. **OO Modulino Pattern**: Single Perl file acts as both class module and CLI executable. CLI_JSON implements this pattern allowing any method to be called directly from command line for rapid testing and development.
## Testing Considerations
- Tests require multiple Perl modules: Test::Kantan, Test::Differences, Test::Output, Test::Exit, Test2::Tools::Command
- CI runs against Perl versions 5.16 through 5.40 plus threaded builds
- Some tests may skip on older Perl versions (< 5.018)
## Dependencies
Core runtime dependencies:
- JSON::MaybeXS
- Sub::Util >= 1.40
- Module::Runtime
Test dependencies include Test::Kantan, Test::Differences, Capture::Tiny, and others listed in cpanfile.
## Documentation Structure
- **Base/CLI_JSON.pod**: Reference manual for CLI_JSON users (how to use CLI_JSON to write OO Modulino)
- **docs/CLI_JSON_rationale.md**: Explains the rationale and value proposition of CLI_JSON
view all matches for this distribution
view release on metacpan or search on metacpan
"Pod::Elemental::Element::Nested" : "0",
"Pod::Elemental::Element::Pod5::Command" : "0",
"Pod::Elemental::Element::Pod5::Ordinary" : "0",
"Pod::Weaver::Role::Section" : "0",
"Test::Class" : "0",
"Test::Differences" : "0",
"Test::Exception" : "0",
"Test::More" : "0",
"Test::RequiresInternet" : "0",
"Try::Tiny" : "0",
"lib" : "0"
view all matches for this distribution
view release on metacpan or search on metacpan
ExtUtils::MakeMaker: 0
build_requires:
ExtUtils::MakeMaker: 0
requires:
Mail::Field: 0
Test::Differences: 0
Test::More: 0
no_index:
directory:
- t
- inc
view all matches for this distribution
view release on metacpan or search on metacpan
t/002_basic.t view on Meta::CPAN
use Time::Local;
use Mail::Log::Parse;
use Mail::Log::Parse::Postfix;
use Mail::Log::Exceptions;
#use Test::Differences;
# A quick test of Mail::Log::Parse.
{
my $object;
lives_ok { $object = Mail::Log::Parse->new() } 'Create Mai::Log::Parse object.';
view all matches for this distribution
view release on metacpan or search on metacpan
use MIME::Entity;
use MIME::Parser;
eval {
require Test::Differences;
no warnings 'redefine';
*is_deeply = \&Test::Differences::eq_or_diff;
};
my $message;
my $parser = new MIME::Parser;
view all matches for this distribution
view release on metacpan or search on metacpan
use Test::More tests => 1;
use_ok('Mail::Thread::Chronological');
# TODO real live testing
eval "use Test::Differences";
# a beefed up is_deeply
sub deeply ($$;$) {
goto &eq_or_diff if defined &eq_or_diff;
goto &is_deeply;
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/common.pl view on Meta::CPAN
if ($@) {
require Test::More;
Test::More->import(skip_all =>"You don't have Mail::Internet");
exit;
}
eval "use Test::Differences";
}
package Email::Abstract::Mail;
use base 'Email::Abstract::MailInternet';
# keep a sequence number so we can order things later
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Test/Util.pm view on Meta::CPAN
}
}
#warn "!!!~~~~ $stdout";
#warn "!!!~~~~ ", $block->stdout;
#use Test::Differences;
#eq_or_diff $stdout, $block->stdout;
compare $stdout, $block->stdout, "stdout - $name";
compare $stdout, $block->stdout_like, "stdout_like - $name";
compare $stderr, $block->stderr, "stderr - $name";
compare $stderr, $block->stderr_like, "stderr_like - $name";
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Test/Util.pm view on Meta::CPAN
}
}
#warn "!!!~~~~ $stdout";
#warn "!!!~~~~ ", $block->stdout;
#use Test::Differences;
#eq_or_diff $stdout, $block->stdout;
compare $stdout, $block->stdout, "stdout - $name";
compare $stdout, $block->stdout_like, "stdout_like - $name";
compare $stderr, $block->stderr, "stderr - $name";
compare $stderr, $block->stderr_like, "stderr_like - $name";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Markdown/Compiler/Test.pm view on Meta::CPAN
package Markdown::Compiler::Test;
use warnings;
use strict;
use Test::More;
use Test::Deep;
use Test::Differences;
use Import::Into;
use Exporter;
use Markdown::Compiler;
use Markdown::Compiler::Lexer;
use Markdown::Compiler::Parser;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Marpa/R2/Test.pm view on Meta::CPAN
if not defined &Test::More::is;
BEGIN {
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (ErrorHandling::RequireCheckingReturnValueOfEval)
eval 'use Test::Differences';
}
sub Marpa::R2::Test::is {
goto &Test::Differences::eq_or_diff
if defined &Test::Differences::eq_or_diff && @_ > 1;
@_ = map { ref $_ ? Data::Dumper::Dumper(@_) : $_ } @_;
goto &Test::More::is;
} ## end sub Marpa::R2::Test::is
1;
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::Differences" : "0",
"Test::More" : "0",
"perl" : "5.010"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
"File::Spec" : "0",
"IPC::Cmd" : "0",
"List::Util" : "0",
"Marpa::R2" : "8",
"Scalar::Util" : "0",
"Test::Differences" : "0",
"Test::More" : "0",
"Time::Piece" : "0",
"XSLoader" : "0"
}
},
"File::Spec" : "0",
"IPC::Cmd" : "0",
"List::Util" : "0",
"Marpa::R2" : "8",
"Scalar::Util" : "0",
"Test::Differences" : "0",
"Test::More" : "0",
"Time::Piece" : "0",
"XSLoader" : "0"
}
},
"File::Spec" : "0",
"IPC::Cmd" : "0",
"List::Util" : "0",
"Marpa::R2" : "8",
"Scalar::Util" : "0",
"Test::Differences" : "0",
"Test::More" : "0",
"Time::Piece" : "0",
"XSLoader" : "0",
"perl" : "5.010001"
}
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::Differences" : "0",
"Test::More" : "0",
"Test::Trap" : "0",
"perl" : "5.010"
}
}
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::Differences" : "0",
"Test::More" : "0",
"perl" : "5.010"
}
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/TestFunctions.pm view on Meta::CPAN
our $VERSION = '0.00';
###############################################################################
#
# 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, $context ) = @_;
$context //= { context => 20 };
eval {
require Test::Differences;
Test::Differences->import();
};
if ( !$@ ) {
eq_or_diff( $got, $expected, $caption, $context );
}
view all matches for this distribution
view release on metacpan or search on metacpan
},
"test_requires" => {
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Test::Differences" => 0,
"Test::More" => "0.88"
}
);
my %fallback_build_requires = (
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Module::Build" => "0.28",
"Test::Differences" => 0,
"Test::More" => "0.88"
);
unless ( eval { Module::Build->VERSION(0.4004) } ) {
view all matches for this distribution