Test::SubCalls - Track the number of times subs are called https://www.cpan.org
Go to file
2024-01-06 09:45:35 +01:00
perl-Test-SubCalls.spec automatic version update by autodist [release 1.10-1mamba;Wed Feb 24 2021] 2024-01-06 09:45:35 +01:00
README.md package created by autospec [release 1.09-1mamba;Fri Feb 18 2011] 2024-01-06 09:45:34 +01:00

perl-Test-SubCalls

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.

This module provides a number of functions for doing testing in this way in association with your normal Test::More (or similar) test scripts.