./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.7100nb1, Package name: p5-Test-Differences-0.7100nb1, 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)

Filesize: 14.945 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-16 13:08:07 by Thomas Klausner | Files touched by this commit (2504)
Log message:
*: recursive bump for perl 5.40
   2024-01-04 12:15:28 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Test-Differences: update to 0.7100.

0.71   2023-10-12

    - Document and test different behaviour regarding Booleans in perl
      5.38.0 compared to earlier versions.
      See https://github.com/DrHyde/perl-modules-Test-Differences/issues/21

0.70   2023-07-07
    - Stop pointless use of taint-mode in tests, so tests pass when perl is
      built without taint support
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2022-10-01 10:10:38 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 0.69

Upstream changes:
0.69   2022-01-07
    - Special-case Unknown::Values objects in comparisons, as it's better to spit
      out a diagnostic failure than to just die;
    - Correct misleading Unicode doco
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles