Friday, December 24, 2010

Test more

My realisation of general lack of discipline while coding has led me down the path of "Test Driven Development". I had heard the phrase before and even knew what it meant, but was too lazy to try it out. Recent events at work have forced me to take this(http://en.wikipedia.org/wiki/Test-driven_development) up.

I'm trying out Perl's Test::More package. (http://search.cpan.org/~mschwern/Test-Simple-0.96/lib/Test/More.pm)

One sleepless night and a red bull later I'm close to finishing up a simple read-from-database-generate-file batch job the test driven way.


^^ This is an excellent tutorial which introduces Test Driven development in Perl using Test::More