http://qs1969.pair.com?node_id=350947


in reply to testing code

At one job I was good. Tests on a cron job, tests for each and every object, tests in the distribution system. It mattered.

These days even though it's a job, it's non-critical. Oddly enough it must go out, but if it's a little off that's ok I can fix it. So I use Test::Simple for my single test script, that covers very little functionality, just the tricky stuff.

The theory was that it'd be faster. And it has been, but that's starting to end. The code is getting large enough that changes are having ripple effects. That tests are justified, and are starting to get written. I'm thinking about test first, but that seems like such a hurdle. It's just too much work, I wonder what level of quality would be required for me to take that leap.