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.
-xdg
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.
In Section
Meditations