Testing: Way Cool!
Perl has some great testing modules out there, but the problem is finding which ones. We all know about Test::Simple, Test::More, and Test::Most. There are tons more though that can really help with testing. The book helped me find a lot of them.
But anyway, I decided that before I release my code, because I was doing some OO work, I might as well use Moose to do the OO parts (more on that later.) When I was doing the porting it was very helpful to have the tests there to tell me if I had done things correctly. This is one of the main reasons I have heard people use for creating a test suite. It is not necessarily that your code will magically be better, but that you can change code with abandon and know if you introduce new bugs. Of course this implies good test coverage, but I am not really at that point yet. I am just to the point where I have decided that testing is awesome!Posted Thu, Apr 30, 2009