Test-Valgrind reviews

RSS | Module Info

Test-Valgrind (1.19) *****

This module is very simple to use, and it is very helpful for finding memory errors in XS modules.

Just for example, here is one error I found with it:


With a C program one could usually test with

valgrind a.out

and look at the results, but with a Perl script, that becomes very convoluted because Perl usually exits without cleaning up its memory.

This module takes care of the Perl cleanup using Perl::Destruct::Level, and leaves the user with a nice and tidy output in TAP format which can be used to swiftly find memory leaks and other faults.

I think this is a very useful contribution.