Web lists-archives.com

Bug#894492: ITP: libtest-hexstring-perl -- module to test binary strings with hex dump diagnostics




Package: wnpp
Severity: wishlist
Owner: Xavier Guimard <x.guimard@xxxxxxx>

* Package name    : libtest-hexstring-perl
  Version         : 0.03
  Upstream Author : Paul Evans <leonerd@xxxxxxxxxxxxxx>
* URL             : https://metacpan.org/release/Test-HexString
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : module to test binary strings with hex dump diagnostics

Test::HexString provides a single function, is_hexstr(), which asserts that
the given string matches what was expected. When the strings match (i.e.
compare equal using the eq operator), the behaviour is identical to the
usual is() function provided by Test::More.

When the strings are different, a hex dump is produced as diagnostic, rather
than the string values being printed raw.