Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Test-Differences | Distribution: SUSE Linux Enterprise 15 |
Version: 0.64 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: 1.22 | Build date: Fri May 25 20:23:04 2018 |
Group: Development/Libraries/Perl | Build host: sheep19 |
Size: 28966 | Source RPM: perl-Test-Differences-0.64-1.22.src.rpm |
Packager: https://www.suse.com/ | |
Url: http://search.cpan.org/dist/Test-Differences/ | |
Summary: Test strings and data structures and show differences if not ok |
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 structures: t/99example....1..3 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 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.
Artistic-1.0 or GPL-1.0+
* Fri Nov 27 2015 coolo@suse.com - 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 https://rt.cpan.org/Ticket/Display.html?id=103133) * Sat Feb 07 2015 coolo@suse.com - 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)) * Mon Sep 15 2014 coolo@suse.com - updated to 0.62 - Document the Text::Diff unicode fix. - Add ability to customise 'Got' and 'Expected' column headers * Tue Dec 27 2011 coolo@suse.com - fix typo in provide * Sun Nov 20 2011 coolo@suse.com - 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 https://rt.cpan.org/Ticket/Display.html?id=60798. Thanks to jjnapiork@cpan.org for the report and fix. * Wed Dec 01 2010 coolo@novell.com - switch to perl_requires macro * Mon Nov 29 2010 coolo@novell.com - remove /var/adm/perl-modules * Sun Jul 25 2010 pascal.bleser@opensuse.org - initial package (0.500)
/usr/lib/perl5/vendor_perl/5.26.1/Test /usr/lib/perl5/vendor_perl/5.26.1/Test/Differences.pm /usr/share/doc/packages/perl-Test-Differences /usr/share/doc/packages/perl-Test-Differences/Changes /usr/share/doc/packages/perl-Test-Differences/README /usr/share/man/man3/Test::Differences.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Mar 9 13:21:55 2025