Welcome to the Monastery | |
PerlMonks |
Working with Test::Harnessby TStanley (Canon) |
on Jan 11, 2005 at 15:58 UTC ( [id://421307]=perlmeditation: print w/replies, xml ) | Need Help?? |
Recently, I decided to redo the tests for my modules by integrating them with Test::Harness and adding a check of the POD using Test::Pod. It definitely proved to be an eye opening experience, as I thought I had managed to cover my modules fairly well. In the end, I ended up adding about 10-12 additional tests between my three modules. I discovered this by dividing up my current tests into files, as well as looking through the module itself (which has convinced me that I really need to add comments to things, so that I can understand what it was that I wrote). I was having a problem with Test::Harness at first, but a short email conversation with the maintainer cleared every thing up, so a big thanks to Andy for his help. Overall, I am quite glad that I did this, as now everything is testing better, and when a test does fail, I get more information, so that I can troubleshoot easier. TStanley -------- The only thing necessary for the triumph of evil is for good men to do nothing -- Edmund Burke
Back to
Meditations
|
|