Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://335850]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2018-06-21 09:22 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.