Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / p5-Test-Differences / DESCR
blob94c2e1aac1b05653c9c988ac4ae0b22138d8a0ef
1 When the code you're testing returns multiple lines, records or
2 data structures and they're just plain wrong, an equivalent to the
3 Unix diff utility may be just what's needed.
5 eq_or_diff_...() compares two strings or (limited) data structures
6 and either emits an ok indication or a side-by-side diff.
7 Test::Differences is designed to be used with Test.pm and with
8 Test::Simple, Test::More, and other Test::Builder based testing
9 modules. As the SYNOPSIS shows, another testing module must be used
10 as the basis for your test suite.
12 These functions assume that you are presenting it with "flat"
13 records, looking like:
15     - scalars composed of record-per-line
16     - arrays of scalars,
17     - arrays of arrays of scalars,
18     - arrays of hashes containing only scalars