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

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


Branch: pkgsrc-2016Q3, Version: 0.6400nb1, Package name: p5-Test-Differences-0.6400nb1, 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 build:
[textproc/p5-Text-Diff] [devel/p5-Capture-Tiny] [devel/p5-Test-Pod-Coverage]

Master sites: (Expand)

SHA1: f8dba7e8cdd0021a9c8b506349824413032a44cb
RMD160: 0fed75879a6b144d0afad15f755c9aa7609247f3
Filesize: 12.282 KB

Version history: (Expand)