libtest-deep-perl 1.204-ok1 source package in openKylin
Changelog
libtest-deep-perl (1.204-ok1) nile; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 06 May 2024 21:56:39 +0800
libtest-deep-perl (1.204-ok1) nile; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 06 May 2024 21:56:39 +0800
Series | Published | Component | Section | |
---|---|---|---|---|
Huanghe V3.0 | proposed | main | perl | |
Huanghe V3.0 | release | main | perl | |
Nile V2.0 | release | main | perl | |
Nile V2.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libtest-deep-perl_1.204.orig.tar.gz | 68.4 KiB | b6591f6ccdd853c7efc9ff3c5756370403211cffe46047f082b1cd1611a84e5f |
libtest-deep-perl_1.204-ok1.debian.tar.xz | 2.1 KiB | 6072fab77753ed2ec9341606c03054d73f38977d98d49b0758df1f65431c42ae |
libtest-deep-perl_1.204-ok1.dsc | 2.0 KiB | 8ab55a0ad1fb07304c2e3b18e9130e57aa1813485d0d3449e70caff6ef0152bf |
Test::Deep gives you very flexible ways to check that the result you got is
the result you were expecting. At it's simplest it compares two structures by
going through each level, ensuring that the values match, that arrays and
hashes have the same elements and that references are blessed into the correct
class. It also handles circular data structures without getting caught in an
infinite loop.
.
Where it becomes more interesting is in allowing you to do something besides
simple exact comparisons. With strings, the eq operator checks that 2 strings
are exactly equal but sometimes that's not what you want. When you don't know
exactly what the string should be but you do know some things about how it
should look, eq is no good and you must use pattern matching instead.
Test::Deep provides pattern matching for complex data structures