On 7/20/06, Gabor Szabo <[EMAIL PROTECTED]> wrote:
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.
This is exactly how no_plan works. use Test::More 'no_plan'; Test::Builder counts up your tests and spits out the plan at the end. ok 1 ok 2 1..2