Perl Website Project

Created: 9 March 2007  Modified:

Originally published on chrislynch.info website.

I’ve come up with a plan for rebuilding my website using a custom Perl web application. This will be an excellent opportunity for me to hone my unit testing skills. I’ve spent the last few days working on the best way to unit test in Perl. Not surprisingly the older method using Test::Harness and Test::Simple turned out to be the best. I have tried working with Test::Unit but found it to be less reliable. The difference between the two is that Test::Unit is object oriented. The same effect can be achieved though by building packages for testing and using them in your test scripts.

I’ve been straddling the fence for years on the idea of unit testing. I am a firm believer now! While it is extra work the peace of mind it provides is well worth it.

tags: blog - old blog - News
   Memory is Fleeting