← Packages
perl-Test-Differences
Test strings and data structures and show differences if not ok
- Current
- 0.72
- Candidate
- 0.73Stale
- License
- GPL-1.0-or-later OR Artistic-1.0-Perl
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:
Changelog
PR · 2
Checks
| Monitor | Observation | Last checked |
|---|---|---|
Stale Repository refresh: git fetch exited 128 (authentication) | ||
Stale Source last confirmed at 2026-11-11T00:42:28+00:00; repository refresh overdue. | ||
Checked | ||
Checked | ||
Not configured No reliable monitor identity/configuration. | — | |
Metadata unavailable Comparable SPDX license expressions are missing; free text and RPM aggregate License are not compared. | Last attempted | |
Metadata unavailable current: CPAN prerequisite configuration is dynamic or unspecified.; upgrade: CPAN prerequisite configuration is dynamic or unspecified. | — Last attempted | |
Not configured No reliable monitor identity/configuration. | — | |
Not configured No reliable monitor identity/configuration. | — |