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

Property Value
Distribution openSUSE Leap 15.0
Repository openSUSE Oss all
Package filename perl-Test-Differences-0.64-lp150.1.7.noarch.rpm
Package name perl-Test-Differences
Package version 0.64
Package release lp150.1.7
Package architecture noarch
Package type rpm
Category Development/Libraries/Perl
License Artistic-1.0 or GPL-1.0+
Maintainer -
Download size 24.38 KB
Installed size 28.29 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. Here's output from an example test
script that checks two text documents and then two (trivial) data
not ok 1 - differences in text
not ok 2 - differences in whitespace
not ok 3
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 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.


Package Version Architecture Repository
perl-Test-Differences - - -


Name Value
perl(:MODULE_COMPAT_5.26.1) -
perl(Capture::Tiny) >= 0.24
perl(Data::Dumper) >= 2.126
perl(Test::More) >= 0.88
perl(Text::Diff) >= 0.35


Name Value
perl(Test::Differences) = 0.64
perl-Test-Differences = 0.64-lp150.1.7


Type URL
Binary Package perl-Test-Differences-0.64-lp150.1.7.noarch.rpm
Source Package perl-Test-Differences-0.64-lp150.1.7.src.rpm

Install Howto

Install perl-Test-Differences rpm package:

# zypper install perl-Test-Differences




2015-11-27 -
- updated to 0.64
see /usr/share/doc/packages/perl-Test-Differences/Changes
0.64 Sun November 22, 2015
- Bump dependency version for Text::Diff to avoid a buggy release
- Make tests pass with relocation perl (see
2015-02-07 -
- updated to 0.63
- Minor doco-fixes
- Remove use of flatten, always use Data::Dumper for saner, more readable
output, fixes RT #95446 (David Precious (bigpresh))
2014-09-15 -
- updated to 0.62
- Document the Text::Diff unicode fix.
- Add ability to customise 'Got' and 'Expected' column headers
2011-12-27 -
- fix typo in provide
2011-11-20 -
- update to 0.61
- Allow an option to override Sortkeys in C<eq_or_diff>. Thanks to Mark
Zealey for the suggestion.
- Unnumbered tests. There's no point to them.
- Make '' and undef not equal. Thanks to Pavel Shaydo for the patch.
- Made Data::Dumper minimum version 2.126 to resolve Thanks to  for the report and fix.
2010-12-01 -
- switch to perl_requires macro
2010-11-29 -
- remove /var/adm/perl-modules
2010-07-25 -
- initial package (0.500)

See Also

Package Description
perl-Test-EOL-2.00-lp150.1.3.noarch.rpm Check the correct line endings in your project
perl-Test-Exception-0.430000-lp150.1.7.noarch.rpm Test exception-based code
perl-Test-Exception-LessClever-0.009-lp150.1.4.noarch.rpm (DEPRECATED) Test::Exception simplified
perl-Test-FailWarnings-0.008-lp150.1.3.noarch.rpm Add test failures if warnings are caught
perl-Test-Fatal-0.014-lp150.1.8.noarch.rpm incredibly simple helpers for testing code with exceptions
perl-Test-File-Contents-0.23-lp150.1.3.noarch.rpm Test routines for examining the contents of files
perl-Test-File-ShareDir-1.001002-lp150.1.7.noarch.rpm Create a Fake ShareDir for your modules for testing
perl-Test-HasVersion-0.014-lp150.1.3.noarch.rpm Check Perl modules have version numbers
perl-Test-Identity-0.01-lp150.1.3.noarch.rpm Assert the Referential Identity of a Reference
perl-Test-InDistDir-1.112071-lp150.1.3.noarch.rpm test environment setup for development with IDE
perl-Test-Inter-1.07-lp150.1.1.noarch.rpm Framework for More Readable Interactive Test Scripts
perl-Test-JSON-0.11-lp150.1.3.noarch.rpm Test JSON data
perl-Test-LWP-UserAgent-0.033-lp150.1.3.noarch.rpm LWP::UserAgent suitable for simulating and testing network calls
perl-Test-LeakTrace-0.16-lp150.1.8.x86_64.rpm Traces memory leaks
perl-Test-LongString-0.17-lp150.1.3.noarch.rpm tests strings for equality, with more helpful failures