devel/cppunit misses a destructor declaration for one of its classes.
[pkgsrcv2.git] / devel / p5-Test-Deep / DESCR
1 Test::Deep gives you very flexible ways to check that the result
2 you got is the result you were expecting. At its simplest it compares
3 two structures by going through each level, ensuring that the values
4 match, that arrays and hashes have the same elements and that
5 references are blessed into the correct class. It also handles
6 circular data structures without getting caught in an infinite
7 loop.
8
9 Where it becomes more interesting is in allowing you to do something
10 besides simple exact comparisons. With strings, the = operator
11 checks that 2 strings are exactly equal but sometimes that's not
12 what you want. When you don't know exactly what the string should
13 be but you do know some things about how it should look, = is no
14 good and you must use pattern matching instead. Test::Deep provides
15 pattern matching for complex data structures.