Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Testing: Fun for the family

by xdg (Monsignor)
on Mar 11, 2004 at 16:09 UTC ( #335850=note: print w/ replies, xml ) Need Help??

in reply to Testing: Fun for the family

Reading about the "joys" of testing -- and the addictive quality of knowing when you've got things working the way you expect, I just have to mention Devel::Cover, which I was alerted to in a TPJ article recently. Devel::Cover tracks how much of your code has been exercised by your tests and produces a fantastic HTML report that highlights in green and red areas that were tested and untested. In effect, it tests your tests. It includes:

  • subroutines
  • statements
  • branches
  • conditions
  • pod (if Pod::Coverage is installed)

It's still alpha but works reasonably well.


Code posted by xdg on PerlMonks is public domain. It has no warranties, express or implied. Posted code may not have been tested. Use at your own risk.

Comment on Re: Testing: Fun for the family

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://335850]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2015-01-30 18:51 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (253 votes), past polls