While testing a *live* web site I crawl through several pages.
For each page I would like to do some tests
(e.g. it has a link to home, its HTML is valid, etc.)

As this is a live site with user created pages I don't know up front how
many pages I am going to test thus I don't know the number of tests
before I run them.

On the other hand I can count them during the test and can tell
Test::More that I was actually expecting $n tests.

Can I somehow do this - promise at the beginning that I will tell
my plan at the end. (It should consider it a failuer if I don't
give plan in the end.)


Gabor

Reply via email to