Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libtest-deep-perl

Perl module for extremely flexible deep comparisons

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

Homepage:
Package version:0.110-1
Architecture:all
Distribution:Debian
Filename:libtest-deep-perl_0.110-1_all.deb

/usr/share/man/man3/Test::Deep.3pm.gz

Test::Deep(3pm)  User Contributed Perl Documentation Test::Deep(3pm)



NAME
       Test::Deep - Extremely flexible deep comparison

SYNOPSIS
         use Test::More tests => $Num_Tests;
         use Test::Deep;

         cmp_deeply(
           $actual_horrible_nested_data_structure,
           $expected_horrible_nested_data_structure,
           "got the right horrible nested data structure"
    
more»

/usr/share/man/man3/Test::Deep::NoTest.3pm.gz

Test::Deep::NoTesUsermContributed Perl DocumeTest::Deep::NoTest(3pm)



NAME
       Test::Deep::NoTest - Use Test::Deep outside of the testing
       framework

SYNOPSIS
         use Test::Deep::NoTest;

         if eq_deeply($a, $b) {
           print "they were deeply equal\n";
         };

DESCRIPTION
       This exports all the same things as Test::Deep but it does
       not load Test::Builde
more»

/usr/share/doc/libtest-deep-perl/changelog.Debian.gz

libtest-deep-perl (0.110-1) unstable; urgency=low

  * Team upload.
  * New upstream release.
  * debian/copyright: update to Copyright-Format 1.0.
  * Remove unneeded lintian override.
  * Bump Standards-Version to 3.9.3 (no changes).

 -- gregor herrmann <gregoa@debian.org>  Mon, 25 Jun 2012 19:28:21 +0200

libtest-deep-perl (0.109-1) unstable; urgency=low

  [ Nicholas Bamber ]
  * New upstream
more»

/usr/share/doc/libtest-deep-perl/changelog.gz

Revision history for Test-Deep

0.110     2012-06-16

          Allow methods() and listmethods() to
more»

/usr/share/doc/libtest-deep-perl/copyright

Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Test-Deep
U
more»

Browse inside libtest-deep-perl_0.110-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libtest-deep-perl_0.110-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com