« Seriously, WTF? | Main | Happy B-Day Lare! »

August 17, 2005

Tests are a good thing

Testing with perl is a wonderful thing, and has saved my ass a few times.

Like today.

We have a horrible, horrible billing system (created by a third party) with an equally horrible database schema running on a horrible database server (I'm looking at you, Microsoft).

I have to be able to create tickets for this beast, but since I have no documentation I have to rely on code, which is documented as well as the schema.

So, naturally, I write tests. This, coupled with the fact that my code returns undef if something bad happens long before anything is inserted into the database made getting things working much easier.

I loves me some .t files!

Posted by ed at August 17, 2005 3:01 PM

Trackback Pings

TrackBack URL for this entry:
http://weblogs.litmusgreen.com/mt-tb.cgi/687

Comments

Post a comment




Type the characters you see in the picture above.


Remember Me?