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

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename perl-Test-Differences-0.67-1.1.noarch.rpm
Package name perl-Test-Differences
Package version 0.67
Package release 1.1
Package architecture noarch
Package type rpm
Category Development/Libraries/Perl
License Artistic-1.0 OR GPL-1.0-or-later
Maintainer -
Download size 25.14 KB
Installed size 28.98 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.28.1) -
perl(Capture::Tiny) >= 0.24
perl(Data::Dumper) >= 2.126
perl(Test::More) >= 0.88
perl(Text::Diff) >= 1.43


Name Value
perl(Test::Differences) = 0.67
perl-Test-Differences = 0.67-1.1


Type URL
Binary Package perl-Test-Differences-0.67-1.1.noarch.rpm
Source Package perl-Test-Differences-0.67-1.1.src.rpm

Install Howto

Install perl-Test-Differences rpm package:

# zypper install perl-Test-Differences




2019-03-07 - Pedro Monreal Gonzalez <>
- updated to 0.65
see /usr/share/doc/packages/perl-Test-Differences/Changes
0.67   2019-03-06
- Correctly compare subroutine references
0.66   2019-02-27
- Fix tests on Windows (thanks to Serguei Trouchelle)
2019-02-21 - Pedro Monreal Gonzalez <>
- Added test dependencies during build:
* Test::Pod >= 1.22, Test::Pod::Coverage >= 1.08
- Cleaned with spec-cleaner
2019-02-20 - Stephan Kulow <>
- updated to 0.65
see /usr/share/doc/packages/perl-Test-Differences/Changes
0.65   2019-02-19
- Canonical repo is now
- Fix discrepancies in copyright notices (thanks to Christian Neukirchen
for pointing them out)
- Make the tests more consistent (thanks to genio)
- Add unicode tests
- Fix whitespace issue in tests when using recent Test::More in verbose mode
(thanks to ntnyi for debugging)
- Get rid of Build.PL, just use Makefile.PL
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

See Also

Package Description
perl-Test-Directory-0.041-1.3.noarch.rpm Perl extension for maintaining test directories
perl-Test-EOL-2.00-1.5.noarch.rpm Check the correct line endings in your project
perl-Test-Exception-0.430000-1.7.noarch.rpm Test exception-based code
perl-Test-Exception-LessClever-0.009-1.6.noarch.rpm (DEPRECATED) Test::Exception simplified
perl-Test-FailWarnings-0.008-3.8.noarch.rpm Add test failures if warnings are caught
perl-Test-Fatal-0.014-1.9.noarch.rpm incredibly simple helpers for testing code with exceptions
perl-Test-File-1.443-1.2.noarch.rpm Test File Attributes
perl-Test-File-Contents-0.23-1.5.noarch.rpm Test routines for examining the contents of files
perl-Test-File-ShareDir-1.001002-1.5.noarch.rpm Create a Fake ShareDir for your modules for testing
perl-Test-Harness-3.42-1.2.noarch.rpm Run Perl standard test scripts with statistics
perl-Test-HasVersion-0.014-1.8.noarch.rpm Check Perl modules have version numbers
perl-Test-Identity-0.01-1.9.noarch.rpm Assert the Referential Identity of a Reference
perl-Test-InDistDir-1.112071-9.9.noarch.rpm test environment setup for development with IDE
perl-Test-Inter-1.09-1.1.noarch.rpm Framework for more readable interactive test scripts
perl-Test-JSON-0.11-1.8.noarch.rpm Test JSON data