Name : perl-Test-Differences
| |
Version : 0.710.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.45.1
| Date : 2024-03-13 15:56:03
|
Group : Unspecified
| Source RPM : perl-Test-Differences-0.710.0-lp155.45.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Test strings and data structures and show differences if not ok
|
Description :
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. Here\'s output from an example test script that checks two text documents and then two (trivial) data structures:
t/99example....1..3 not ok 1 - differences in text not ok 2 - differences in whitespace not ok 3
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.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.5/noarch |