From: James Edward Gray II Date: 2005-12-08T03:32:51+09:00 Subject: Re: Syntax checker? On Dec 7, 2005, at 12:07 PM, William E. Rubin wrote: >> That's the exact scenario that unit tests are great for, finding >> issues in >> parts of code that aren't hit often, or nearly at all. If they're >> covered >> by a unit test though you know, right away that something is >> wrong, and you >> can fix it, without waiting for that scenario to arrive. > > Well sure, but for a quick and dirty one-off script, that you're > potentially changing a bunch as the need arises, it's not always > feasible (timewise) to design unit tests for every possible scenario, > nor to keep them up to date. Are you sure? I'm not. I find that Unit Tests cut my debugging time to nearly non-existent and they cause me to plan for change from the get-go. I wonder how much time that gives back... Enough to offset the tests? James Edward Gray II