p5-Test-Differences - Test strings and data structures and show differences if not ok

Property Value
Distribution NetBSD 8.1
Repository NetBSD amd64
Package filename p5-Test-Differences-0.6700.tgz
Package name p5-Test-Differences
Package version 0.6700
Package release -
Package architecture amd64
Package type tgz
Category devel perl5
Homepage http://search.cpan.org/perldoc?Test::Differences
License gnu-gpl-v2 OR artistic
Maintainer -
Download size 12.23 KB
Installed size 36.61 KB
When the code you're testing returns multiple lines, records or
data structures and they're just plain wrong, an equivalent to the
Unix diff utility may be just what's needed.
eq_or_diff_...() compares two strings or (limited) data structures
and either emits an ok indication or a side-by-side diff.
Test::Differences is designed to be used with Test.pm and with
Test::Simple, Test::More, and other Test::Builder based testing
modules. As the SYNOPSIS shows, another testing module must be used
as the basis for your test suite.
These functions assume that you are presenting it with "flat"
records, looking like:
- scalars composed of record-per-line
- arrays of scalars,
- arrays of arrays of scalars,
- arrays of hashes containing only scalars


Package Version Architecture Repository
p5-Test-Differences-0.6700.tgz 0.6700 i386 NetBSD
p5-Test-Differences - - -


Name Value
p5-Text-Diff >= 0.35
perl >= 5.28.0 < 5.30.0


Type URL
Mirror ftp.netbsd.org
Binary Package p5-Test-Differences-0.6700.tgz
Source Package p5-Test-Differences

Install Howto

Install p5-Test-Differences tgz package:

# pkg_add p5-Test-Differences

See Also

Package Description
p5-Test-Dir-1.16nb2.tgz Test directory attributes
p5-Test-DistManifest-1.014nb4.tgz Author test that validates a package MANIFEST
p5-Test-Distribution-2.00nb11.tgz Perl5 module testing all modules of a distribution
p5-Test-EOL-2.00nb1.tgz Check the correct line endings in your project
p5-Test-Email-0.07nb6.tgz Test Email contents and POP3 delivery
p5-Test-Exception-0.43nb3.tgz Test exception based code
p5-Test-Expect-0.34nb2.tgz Automated driving and testing of terminal-based programs with Perl 5
p5-Test-FailWarnings-0.008nb4.tgz Add test failures if warnings are caught
p5-Test-Fatal-0.014nb4.tgz Incredibly simple helpers for testing code with exceptions
p5-Test-File-1.44.3nb2.tgz Test file attributes
p5-Test-File-Contents-0.23nb3.tgz Perl5 module for test routines examining the contents of files
p5-Test-File-ShareDir-1.001002nb2.tgz Perl5 module to create a fake ShareDir for module testing
p5-Test-Fixture-DBIC-Schema-0.04nb5.tgz Perl 5 module providing a DBIx::Class::Schema fixture data loader
p5-Test-HTTP-LocalServer-0.64.tgz Perl module for spawning a local HTTP server for testing
p5-Test-HTTP-Server-Simple-0.11nb9.tgz Perl 5 module providing Test::More functions for HTTP::Server::Simple