develooper Front page | perl.qa | Postings from March 2009

Counting tests

Thread Next
From:
Evgeny
Date:
March 13, 2009 05:26
Subject:
Counting tests
Message ID:
b6840c770903130504q40863f65yc9046d5f55db8634@mail.gmail.com
I have seen the page :
http://perl-qa.hexten.net/wiki/index.php/Why_can%27t_a_program_count_its_own_tests

And I still don't understand, why can't a perl program count its test and
then when all the tests are done write something like:

I ran 45976347563873456 tests and 587643873645 of then failed and
234598634875634 of them passed.

(dont mind that the numbers dont add up)


Then you dont really need to "count" the amount of tests before hand, you
"count" them as you go, and will only know the final amount of tests at the
very end.



--
evgeny

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About