develooper Front page | | Postings from March 2009

Counting tests

Thread Next
March 13, 2009 05:26
Counting tests
Message ID:
I have seen the page :

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.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About