./devel/p5-Test-Deep, Perl5 module to test deep structures

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.126, Package name: p5-Test-Deep-1.126, Maintainer: pkgsrc-users

Test::Deep gives you very flexible ways to check that the result
you got is the result you were expecting. At its 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

Where it becomes more interesting is in allowing you to do something
besides simple exact comparisons. With strings, the = 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, = is no
good and you must use pattern matching instead. Test::Deep provides
pattern matching for complex data structures.

Required to run:
[lang/perl5] [devel/p5-Test-Simple]

Required to build:

Master sites: (Expand)

SHA1: 8ed85b70e7dd2773b52dc2b82ecf16838c0b237b
RMD160: 79b59f8280fdad534486f1eb8a53ad023c6d1f3f
Filesize: 40.317 KB

Version history: (Expand)

CVS history: (Expand)

   2017-01-02 02:13:29 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.126

Upstream changes:
1.126     2016-12-27
        - no changes since v1.125_001

1.125_001 2016-12-27
        - if objects in the "expected" structured have an as_test_deep_cmp
          method, it will be called and its return (which should be a
          Test::Deep::Cmp object) will be used as the test for that location in
          the structure
        - internal undocumented class_base routine has been replaced
          with a different, clearly private routine
        - the LeafWrapper is also used for objects with an unknown reftype
          (like LVALUE or other weird ones)
   2016-11-07 15:12:59 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated devel/p5-Test-Deep to 1.124
1.124     2016-11-05
- avoid an uninitialized warning when array_each() compares to a
  non-reference (thanks, Максим Вуец!, Maxim Vuets)
   2016-09-12 14:28:06 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.123

Upstream changes:
1.123     2016-09-09
        - remove test suite reliance on "." appearing @INC (thanks, \ 
Graham Knop
          and Karen Etheridge!)
        - when an object with stringification overloading fails to match a
          "re" test, its stringification is included in the diagnostics

1.122     2016-09-07
        - added $Test::Deep::LeafWrapper to control the behavior of simple
          values in the "expected" definition; by default, they are \ 
treated as
          shallow($x) tests, but you can now say (for example)
          C<< $Test::Deep::LeafWrapper = \&str >> to always \ 
treat the got value
          as a string, even if blessed, etc.

1.121_001 2016-07-19
        - documentation improvements
        - avoid a few evals, localize $@ in a few places where eval is used
        - good bye tabs, hello spaces
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2016-05-03 12:54:58 by Thomas Klausner | Files touched by this commit (78)
Log message:
Reset maintainer (observer now).
   2016-04-15 12:35:44 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update p5-Test-Deep to 1.120.

0.120     2015-11-27
        - no changes since 0.119_01

0.119_01  2015-11-19
        - add none() test; it's like any(), but negative
        - fix stringification of any() expectations
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-30 13:48:17 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.119
Remove unneeded DEPENDS

Upstream changes:
0.119     2015-09-29
        - remove use of Test::NoWarnings for user-facing tests

0.118     2015-07-27 TRIAL RELEASE
        - overloading of & and | no longer can change All or Any objects
          found as arguments
        - an All as an argument to an All constructed is flattened out into its
          All-ed values; the same goes for Any