pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Test-Differences



Module Name:    pkgsrc
Committed By:   abs
Date:           Mon Jun 23 04:04:21 UTC 2008

Update of /cvsroot/pkgsrc/devel/p5-Test-Differences
In directory ivanova.netbsd.org:/tmp/cvs-serv5628

Log Message:
Import p5-Test-Differences-0.47

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

Status:

Vendor Tag:     TNF
Release Tags:   pkgsrc-base
                
N pkgsrc/devel/p5-Test-Differences/Makefile
N pkgsrc/devel/p5-Test-Differences/DESCR
N pkgsrc/devel/p5-Test-Differences/distinfo

No conflicts created by this import



Home | Main Index | Thread Index | Old Index