http://www.perlmonks.org?node_id=992330


in reply to prove v1.04 question

You could try:

$Test->no_plan;

and then run prove: it will count the number of tests for you. Eventually when you have finished, I would urge you to remove the no_plan and substitute the actual number. A further possibility would be to use:

scalar $Test->summary;

at the end of each test script to count the number of tests in that script, possibly writing it to a file etc if there are a lot to be summed over. again the caveat about replacing no_plan with the actual number.