Name : perl-Test-Differences
| |
Version : 0.71
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.9
| Date : 2024-08-05 17:42:33
|
Group : Unspecified
| Source RPM : perl-Test-Differences-0.71-1.9.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
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:/CPAN-T/openSUSE_Tumbleweed/noarch |