./devel/p5-Test-Differences, Test strings and data structures and show differences if not ok

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.6700nb1, Package name: p5-Test-Differences-0.6700nb1, Maintainer: pkgsrc-users

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


Required to run:
[textproc/p5-Text-Diff] [lang/perl5]

Required to build:
[devel/p5-Test-Pod-Coverage] [devel/p5-Test-Pod] [devel/p5-Capture-Tiny] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 198fe6239cc4a18bb0248e45ea8ae562d1d73bb7
RMD160: 00f0bed18ee3b8fdd8ce0a42c5b71234a4317bbc
Filesize: 12.94 KB

Version history: (Expand)


CVS history: (Expand)


   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-07-01 23:36:01 by Nia Alarie | Files touched by this commit (232)
Log message:
Follow some remaining search.cpan.org redirects.
   2019-04-07 09:22:17 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.67

Upstream changes:
0.67   2019-03-06
    - Correctly compare subroutine references
   2019-03-02 11:35:43 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.66

Upstream changes:
0.66   2019-02-27
    - Fix tests on Windows (thanks to Serguei Trouchelle)

0.65   2019-02-19
    - Canonical repo is now https://github.com/DrHyde/perl-modules-Test-Differences
    - 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
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-09-17 13:52:07 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
p5-Test-Differences: p5-Text-Diff is a runtime dependency, make it so

Bump PKGREVISION.
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.