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


in reply to Re^2: What is the largest number of tests you have created for a single project you have worked on?
in thread What is the largest number of tests you have created for a single project you have worked on?

Then switch to a newer Test::More, and use - as I did in my example - to the use of done_testing () and you don't have to count or use plans no more.

done_testing () was first released in version 0.88 in May 2009, so it should be available to you too.

Once you're comfortable with this new way of writing tests, you can even spend more time writing them without worrying if you missed count. Next step could be writing subtests :)


Enjoy, Have FUN! H.Merijn
  • Comment on Re^3: What is the largest number of tests you have created for a single project you have worked on?
  • Select or Download Code