p5-Test-SubCalls
track the number of times subs are called
WWW CVSWeb GITHub-
Package versionp5-Test-SubCalls-1.10p1
-
MaintainerThe OpenBSD ports mailing-list
There are a number of different situations (like testing caching code)
where you want to want to do a number of tests, and then verify that
some underlying subroutine deep within the code was called a specific
number of times.
Test::SubCalls provides a number of functions for doing testing in this
way in association with your normal Test::More (or similar) test
scripts.