I've *finally* had enough of the application I've been stuck maintaining and its random, buggy behaviour. There are 2 long outstanding bugs that I just can't replicate ... no matter how hard I've tried using 'crafty' non-automated testing.
So, it's time to bite the bullet and start writing a test harness for the bloody thing. It's a large, strange, re-blessed custom-rolled shopping cart application. The checkout process is my starting point ... somewhere along the line important data gets lost, and orders can't complete.
i picked up a copy of Perl Medic recently to get me started on this task. And I'm looking at Test::More to get things rolling, but the points that I need to test the most are a few steps into checkout process ( credit card processing, address insertion into the database, etc. ).
so, that all said ... where are some good places to look re: building these tests from 'legacy' code ... not building new code, writing tests first a la XP ... but finding trouble spots in older code and building a working test harness around it?